Skip to content

Commit

Permalink
Build docs to docs/ in GitHub pages
Browse files Browse the repository at this point in the history
  • Loading branch information
honno committed Mar 20, 2024
1 parent 7ed7b72 commit b381d67
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,12 @@ jobs:
with:
python-version: "3.10"
- 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 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
site_name: OpenBLAS
site_url: https://openblas.net/docs/
theme:
name: material
logo: logo.svg
Expand Down

0 comments on commit b381d67

Please sign in to comment.