Skip to content

Commit

Permalink
ci: add gh-pages checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelrince committed Jul 2, 2024
1 parent e0cbdb6 commit e805187
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/publish-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ jobs:
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --only docs

- name: Checkout gh-pages
uses: actions/checkout@v4
with:
ref: gh-pages

# deploy github pages (dev)
- name: Deploy GitHub Pages (dev)
if: "github.ref == 'refs/heads/main'"
Expand Down

0 comments on commit e805187

Please sign in to comment.