File tree Expand file tree Collapse file tree 2 files changed +24
-24
lines changed
Expand file tree Collapse file tree 2 files changed +24
-24
lines changed Original file line number Diff line number Diff line change 1- name : deploy
2- on :
1+ name : deploy
2+ on :
33 push :
44 branches :
5- - main
5+ - main
66 workflow_dispatch :
77
8- permissions :
8+ permissions :
99 contents : read
1010 pages : write
1111 id-token : write
@@ -14,33 +14,33 @@ concurrency:
1414 group : github-pages
1515 cancel-in-progress : true
1616
17- jobs :
18- build :
19- runs-on : ubuntu-latest
20- steps :
21- - uses : actions/checkout@v4
17+ jobs :
18+ build :
19+ runs-on : ubuntu-latest
20+ steps :
21+ - uses : actions/checkout@v4
2222 with :
2323 fetch-depth : 0
24- - uses : actions/setup-python@v5
24+ - uses : actions/setup-python@v5
2525 with :
2626 python-version : 3.x
2727 cache : ' pip'
28- - name : Install dependencies
28+ - name : Install dependencies
2929 run : pip install -r requirements.txt
30- - name : Build
31- run : properdocs build --clean
32- - name : Upload static files as artifact
30+ - name : Build
31+ run : hatch -e doc run properdocs build --clean
32+ - name : Upload static files as artifact
3333 uses : actions/upload-pages-artifact@v3
3434 with :
35- path : ./site/
35+ path : ./site/
3636
37- deploy :
37+ deploy :
3838 environment :
3939 name : github-pages
4040 url : ${{ steps.deployment.outputs.page_url }}
41- runs-on : ubuntu-latest
42- needs : build
43- steps :
44- - name : Deploy to GitHub Pages
41+ runs-on : ubuntu-latest
42+ needs : build
43+ steps :
44+ - name : Deploy to GitHub Pages
4545 id : deployment
4646 uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 99 name : Build and publish Python 🐍 distributions 📦 to PyPI
1010 environment :
1111 name : pypi
12- url : https://pypi.org/p/pygments-shell-console
12+ url : https://pypi.org/p/mkdocs-data-plugin
1313 permissions :
1414 id-token : write # IMPORTANT: this permission is mandatory for trusted publishing
1515 steps :
16- - name : Set up Python 3.8
16+ - name : Set up Python 3
1717 uses : actions/checkout@master
18- - name : Set up Python 3.8
18+ - name : Set up Python 3
1919 uses : actions/setup-python@v1
2020 with :
21- python-version : 3.8
21+ python-version : 3.x
2222 - name : Install pypa/build
2323 run : >-
2424 python -m
You can’t perform that action at this time.
0 commit comments