Skip to content

Commit b2ae869

Browse files
committed
deploy to gh-pages
1 parent 7fa2520 commit b2ae869

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/build.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,21 @@ jobs:
4040
name: workspace-${{github.job}}
4141
path: '*'
4242
retention-days: 3
43+
44+
- name: Upload GitHub Pages artifact
45+
uses: actions/upload-pages-artifact@v3
46+
with:
47+
path: docs/
48+
deploy:
49+
environment:
50+
name: github-pages
51+
needs: build
52+
runs-on: ubuntu-latest
53+
permissions:
54+
pages: write
55+
id-token: write
56+
steps:
57+
- name: Deploy to GitHub Pages
58+
uses: actions/deploy-pages@v4
59+
with:
60+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)