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 533281e commit bba1d11Copy full SHA for bba1d11
.github/workflows/deploy.yml
@@ -21,6 +21,11 @@ jobs:
21
deploy:
22
# The type of runner that the job will run on
23
runs-on: ubuntu-latest
24
+
25
+ permissions:
26
+ contents: read
27
+ pages: write
28
+ id-token: write
29
30
# Steps represent a sequence of tasks that will be executed as part of the job
31
steps:
@@ -38,6 +43,11 @@ jobs:
38
43
- name: Build the project
39
44
run: npm run build
40
45
46
+ - name: Upload artifact for Pages
47
+ uses: actions/upload-pages-artifact@v1
48
+ with:
49
+ path: ./www # Path to your build output directory
50
41
51
- name: Check if www folder exists
42
52
run: |
53
ls -la www
@@ -47,6 +57,7 @@ jobs:
57
git diff --exit-code || echo "There are changes to commit"
58
59
- name: Deploy to GitHub Pages
60
+ uses: actions/deploy-pages@v1
61
env:
62
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
63
0 commit comments