File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Docs Workflow
2+ run-name : ${{ github.actor }} is publishing document artifacts 🚀
3+ on : [push, workflow_dispatch]
4+
5+
6+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
7+ permissions :
8+ contents : read
9+ pages : write
10+ id-token : write
11+
12+ # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
13+ # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
14+ concurrency :
15+ group : " pages"
16+ cancel-in-progress : false
17+
18+ jobs :
19+ # Single deploy job since we're just deploying
20+ deploy :
21+ environment :
22+ name : github-pages
23+ url : ${{ steps.deployment.outputs.page_url }}
24+ runs-on : ubuntu-latest
25+ steps :
26+ - name : Checkout
27+ uses : actions/checkout@v4
28+ - name : Setup Pages
29+ uses : actions/configure-pages@v4
30+ - name : Build html
31+ run : make html
32+ - name : Upload artifact
33+ uses : actions/upload-pages-artifact@v3
34+ with :
35+ # Upload build repository
36+ path : ' ./_build/html'
37+ - name : Deploy to GitHub Pages
38+ id : deployment
39+ uses : actions/deploy-pages@v4
40+
41+
42+ - run : echo "🍏 This job's status is ${{ job.status }}."
You can’t perform that action at this time.
0 commit comments