Build docs to `docs/` in GitHub pages
This commit is contained in:
parent
45cbabcf58
commit
32c31ec82a
|
@ -13,4 +13,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
python-version: "3.10"
|
python-version: "3.10"
|
||||||
- run: pip install mkdocs mkdocs-material
|
- run: pip install mkdocs mkdocs-material
|
||||||
- run: mkdocs gh-deploy --force --clean --verbose
|
# mkdocs gh-deploy command only builds to the top-level, hence building then deploying ourselves
|
||||||
|
- run: mkdocs build
|
||||||
|
- name: Deploy docs
|
||||||
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
|
if: ${{ github.ref == 'refs/heads/develop' }}
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
publish_dir: ./site
|
||||||
|
destination_dir: docs/
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
site_name: OpenBLAS
|
site_name: OpenBLAS
|
||||||
|
site_url: https://openblas.net/docs/
|
||||||
theme:
|
theme:
|
||||||
name: material
|
name: material
|
||||||
logo: logo.svg
|
logo: logo.svg
|
||||||
|
|
Loading…
Reference in New Issue