File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed
Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy manual
2+
3+ on :
4+ push :
5+ branches : [master]
6+ workflow_dispatch :
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v4
13+
14+ - name : Set up Python
15+ uses : actions/setup-python@v5
16+ with :
17+ python-version : 3.12
18+
19+ - name : Install Python dependencies
20+ run : python -m pip install html5validator
21+
22+ - name : Setup Pages
23+ id : pages
24+ uses : actions/configure-pages@v5
25+
26+ - name : Generate manual
27+ run : |
28+ python generate.py
29+ html5validator --root out
30+
31+ - name : Upload artifact
32+ uses : actions/upload-pages-artifact@v3
33+ with :
34+ path : ./out
35+
36+ deploy :
37+ needs : build
38+ # Grant GITHUB_TOKEN the permissions required to make a Pages deployment
39+ permissions :
40+ pages : write # to deploy to Pages
41+ id-token : write # to verify the deployment originates from an appropriate source
42+ environment :
43+ name : github-pages
44+ url : ${{ steps.deployment.outputs.page_url }}
45+ runs-on : ubuntu-latest
46+ steps :
47+ - name : Deploy to GitHub Pages
48+ id : deployment
49+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments