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 : docs
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v[0-9]+.[0-9]+.[0-9]+'
7+ pull_request :
8+ branches :
9+ - master
10+ workflow_dispatch :
11+
12+ jobs :
13+ build :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v4
17+ with :
18+ fetch-depth : ' 0'
19+ - uses : actions/setup-python@v5
20+ with :
21+ python-version : 3.12
22+ - run : python3 -m pip install -U pip
23+ - run : python3 -m pip install -r docs/requirements.txt
24+ - run : python3 -m pip install .
25+ - run : mkdocs build
26+ env :
27+ STAGPY_DOC_CONFIG : 1
28+ - uses : actions/upload-pages-artifact@v3
29+ with :
30+ path : " site/"
31+
32+ deploy :
33+ needs : build
34+ permissions :
35+ pages : write
36+ id-token : write
37+ environment :
38+ name : github-pages
39+ url : ${{ steps.deployment.outputs.page_url }}
40+ runs-on : ubuntu-latest
41+ steps :
42+ - uses : actions/deploy-pages@v4
43+ id : deployment
You can’t perform that action at this time.
0 commit comments