Skip to content

Commit

Permalink
Trying to deploy to pages now
Browse files Browse the repository at this point in the history
  • Loading branch information
MicahGale committed Jan 10, 2024
1 parent 7212bd8 commit b10116c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,28 @@ jobs:
with:
name: coverage
path: coverage.xml

deploy-pages:
needs: [build, test]

permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.8
- run: pip install --user montepy[doc]
- run: cd doc && make html
- uses: actions/deploy-pages@v4
with:
path: doc/build/html



0 comments on commit b10116c

Please sign in to comment.