Skip to content

Commit

Permalink
Merge pull request #29 from malmans2/deploy-docs
Browse files Browse the repository at this point in the history
deploy documentation
  • Loading branch information
MaceKuailv authored May 24, 2023
2 parents 9205d40 + 56dea80 commit 6f07a64
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,9 @@ jobs:
- name: Build documentation
run: |
make docs-build
- name: Deploy documentation
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html

0 comments on commit 6f07a64

Please sign in to comment.