Skip to content

Commit

Permalink
Deploy docs to github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
mmore500 committed Dec 8, 2023
1 parent aa6057c commit 7b14993
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,27 @@ jobs:
with:
name: doc-coverage
path: doc/doc-coverage.json
- uses: actions/upload-artifact@v2
with:
name: documentation-html
path: doc/_build/html
deploy-to-gh-pages:
name: Deploy Documentation to GitHub Pages
runs-on: ubuntu-22.04
needs: test-documentation
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v3
- name: Download artifact
uses: actions/download-artifact@v2
with:
name: documentation-html
path: doc/_build/html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc/_build/html
deploy-documentation-coverage:
name: Deploy Documentation Coverage
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 7b14993

Please sign in to comment.