Skip to content

Commit 4f25dbc

Browse files
authored
Create deploy.yaml
1 parent 24e64a7 commit 4f25dbc

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/deploy.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Deploy
2+
permissions:
3+
id-token: write
4+
pages: write
5+
on: [push]
6+
jobs:
7+
build-and-deploy:
8+
environment:
9+
name: github-pages
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
14+
- uses: pnpm/action-setup@v3
15+
with:
16+
version: 9
17+
run_install: |
18+
- recursive: true
19+
args: [--frozen-lockfile, --strict-peer-dependencies]
20+
- args: [--global, gulp, prettier, typescript]
21+
22+
- run: pnpm build
23+
24+
- name: Build
25+
run: pnpm build --base /presentation-whats-in-a-hash/
26+
27+
- uses: actions/configure-pages@v4
28+
29+
- uses: actions/upload-pages-artifact@v3
30+
with:
31+
path: dist
32+
33+
- name: Deploy
34+
id: deployment
35+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)