Skip to content

Commit 0f3732c

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

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
name: CI
44
on: push
55

6+
permissions:
7+
contents: read
8+
pages: write
9+
id-token: write
10+
611
jobs:
712
build:
813
runs-on: ubuntu-latest
@@ -40,3 +45,13 @@ jobs:
4045
name: workspace-${{github.job}}
4146
path: '*'
4247
retention-days: 3
48+
49+
- name: Upload GitHub Pages artifact
50+
uses: actions/upload-pages-artifact@v3
51+
with:
52+
path: docs/
53+
54+
- name: Deploy to GitHub Pages
55+
uses: actions/deploy-pages@v4
56+
with:
57+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)