Skip to content

Commit a513dfd

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

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/build.yml

Lines changed: 16 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,14 @@ 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+
name: Cyphal Specification
53+
path: docs/
54+
55+
- name: Deploy to GitHub Pages
56+
uses: actions/deploy-pages@v4
57+
with:
58+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)