File tree Expand file tree Collapse file tree 2 files changed +31
-5
lines changed Expand file tree Collapse file tree 2 files changed +31
-5
lines changed Original file line number Diff line number Diff line change 11name : Documentation Deployment
2+
23run-name : Deploying to GitHub Pages
4+
35on :
46 push :
57 branches :
68 - main
9+
710permissions :
811 contents : write
12+
913jobs :
1014 deploy :
1115 runs-on : ubuntu-latest
1216 steps :
13- - uses : actions/checkout@v2
14- - uses : actions/setup-python@v2
15- - run : pip install --upgrade pip
16- - run : pip install mkdocs pymdown-extensions mkdocs-material
17- - run : mkdocs gh-deploy --force
17+ - name : Checkout main branch
18+ uses : actions/checkout@v2
19+
20+ - name : Installing Python
21+ uses : actions/setup-python@v2
22+ with :
23+ # actions/setup-python recommends that python-version be fixed so that workflow runs are more
24+ # predictable.
25+ python-version : ' 3.12.7'
26+
27+ - name : Upgrade pip (Python package manager) version
28+ run : pip install --upgrade pip
29+
30+ - name : Install mkdocs
31+ run : pip install mkdocs
32+
33+ - name : Install pymdown-extensions
34+ run : pip install pymdown-extensions mkdocs-material
35+
36+ - name : Install mkdocs-material
37+ run : pip install mkdocs-material
38+
39+ # This step force-pushes the docs to the "gh-pages" branch of the parallelchain-docs repo.
40+ - name : Build and deploy mkdocs
41+ run : mkdocs gh-deploy --force
Original file line number Diff line number Diff line change 1010 - reopened
1111 - synchronize
1212 - closed
13+
1314permissions :
1415 contents : write
1516 pull-requests : write
17+
1618jobs :
1719 preview :
1820 name : 🚀 Preview
You can’t perform that action at this time.
0 commit comments