We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3b6caa commit 5da05c7Copy full SHA for 5da05c7
1 file changed
.github/workflows/build.yaml
@@ -9,7 +9,7 @@ on:
9
- "*"
10
11
permissions:
12
- contents: read
+ contents: write
13
pages: write
14
id-token: write
15
@@ -65,10 +65,12 @@ jobs:
65
: > site/.nojekyll
66
echo -n '201.ustclug.org' > site/CNAME
67
- name: Upload artifact
68
+ if: github.ref == 'refs/heads/master'
69
uses: actions/upload-pages-artifact@v3
70
with:
71
path: site
72
- name: Deploy to GitHub Pages
73
74
id: deployment
75
uses: actions/deploy-pages@v4
76
0 commit comments