File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515
1616permissions :
1717 contents : read
18+ pages : write
19+ id-token : write
20+
21+ concurrency :
22+ group : " pages"
23+ cancel-in-progress : false
1824
1925jobs :
2026 verify :
3541 run : npm run build --prefix docs
3642 - name : Verify repository-owned documentation links
3743 run : npm run check:links --prefix docs
44+ - name : Upload GitHub Pages artifact
45+ if : github.ref == 'refs/heads/main'
46+ uses : actions/upload-pages-artifact@v3
47+ with :
48+ path : docs/build
49+
50+ deploy :
51+ name : Deploy documentation to GitHub Pages
52+ needs : verify
53+ if : github.ref == 'refs/heads/main'
54+ runs-on : ubuntu-latest
55+ environment :
56+ name : github-pages
57+ url : ${{ steps.deployment.outputs.page_url }}
58+ steps :
59+ - name : Deploy GitHub Pages artifact
60+ id : deployment
61+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments