File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Publish docs via GitHub Pages
2+
23on :
34 push :
45 branches :
56 - develop
7+ pull_request :
8+ branches :
9+ - develop
10+
611jobs :
712 build :
813 name : Deploy docs
914 if : " github.repository == 'OpenMathLib/OpenBLAS'"
1015 runs-on : ubuntu-latest
1116 steps :
1217 - uses : actions/checkout@v4
18+ with :
19+ fetch-depth : 0
20+
1321 - uses : actions/setup-python@v5
1422 with :
1523 python-version : " 3.10"
16- - run : pip install mkdocs mkdocs-material
17- # mkdocs gh-deploy command only builds to the top-level, hence building then deploying ourselves
18- - run : mkdocs build
24+
25+ - name : Install MkDocs and doc theme packages
26+ run : pip install mkdocs mkdocs-material mkdocs-git-revision-date-localized-plugin
27+
28+ - name : Build docs site
29+ run : mkdocs build
30+
31+ # mkdocs gh-deploy command only builds to the top-level, hence deploying
32+ # with this action instead.
33+ # Deploys to http://www.openmathlib.org/OpenBLAS/docs/
1934 - name : Deploy docs
2035 uses : peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
2136 if : ${{ github.ref == 'refs/heads/develop' }}
You can’t perform that action at this time.
0 commit comments