File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish web
2+ on :
3+ push :
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - name : Checkout
10+ uses : actions/checkout@v4
11+
12+ - name : Setup Pages
13+ id : pages
14+ uses : actions/configure-pages@v3
15+
16+ - name : Install pandoc
17+ run : |
18+ sudo apt-get install --yes pandoc
19+
20+ - name : Build with Pandoc
21+ run : |
22+ make
23+
24+ - name : Upload artifact
25+ uses : actions/upload-pages-artifact@v2
26+
27+ deploy :
28+ permissions :
29+ contents : read
30+ pages : write
31+ id-token : write
32+
33+ runs-on : ubuntu-latest
34+
35+ needs : build
36+
37+ environment :
38+ name : github-pages
39+ url : ${{steps.deployment.outputs.page_url}}
40+ steps :
41+ - name : Deploy artifact
42+ id : deployment
43+ uses : actions/deploy-pages@v1
You can’t perform that action at this time.
0 commit comments