Skip to content

Commit

Permalink
DOC: fix gh pages deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
ColmTalbot committed Sep 17, 2024
1 parent dc8ea47 commit eb04655
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- published

jobs:
deploy:
build:
runs-on: ubuntu-latest
container: containers.ligo.org/lscsoft/bilby/v2-bilby-python311
steps:
Expand Down Expand Up @@ -38,9 +38,14 @@ jobs:
with:
name: docs-html
path: docs/_build/html/
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit eb04655

Please sign in to comment.