Skip to content

Commit b60fd93

Browse files
committed
Use GitHub Pages workflow
1 parent b09cac6 commit b60fd93

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/build.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,15 @@ jobs:
5959
mkdocs -v build
6060
: > site/.nojekyll
6161
echo -n '201.ustclug.org' > site/CNAME
62+
- name: Upload artifact
63+
uses: actions/upload-pages-artifact@v3
64+
with:
65+
path: site
6266
- name: Deploy to GitHub Pages
67+
id: deployment
68+
uses: actions/deploy-pages@v4
69+
70+
- name: Push site to gh-pages branch
6371
if: github.ref == 'refs/heads/master'
6472
run: |
6573
CINFO="$(git log -1 --pretty="%an: [%h] %s")"

0 commit comments

Comments
 (0)