We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a50eefc commit b34d6d8Copy full SHA for b34d6d8
1 file changed
.github/workflows/static.yml
@@ -4,6 +4,13 @@ on:
4
push:
5
branches:
6
- 'deploy'
7
+permissions:
8
+ contents: read
9
+ pages: write
10
+ id-token: write
11
+concurrency:
12
+ group: "pages"
13
+ cancel-in-progress: false
14
jobs:
15
build:
16
runs-on: ubuntu-latest
@@ -25,3 +32,22 @@ jobs:
25
32
with:
26
33
name: production-build
27
34
path: dist
35
+ deploy:
36
+ environment: github-pages
37
+ url: ${{ steps.deployment.outputs.page_url }}
38
+ runs-on: ubuntu-latest
39
+ needs: build
40
+ steps:
41
+ - name: Download artifact
42
+ uses: actions/download-artifact@v4
43
+ with:
44
+ name: production-build
45
+ - name: Setup Pages
46
+ uses: actions/configure-pages@v5
47
+ - name: Upload artifact
48
+ uses: actions/upload-pages-artifact@v3
49
50
+ path: '.'
51
+ - name: Deploy to GH Pages
52
+ id: deployment
53
+ uses: actions/deploy-pages@v4
0 commit comments