Skip to content

Commit

Permalink
ci: change step order gh-pages checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelrince committed Jul 2, 2024
1 parent e805187 commit c7c33a7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout gh-pages
uses: actions/checkout@v4
with:
ref: gh-pages

# check-out repo and set-up python
- name: Check out repository
uses: actions/checkout@v4
Expand All @@ -40,11 +45,6 @@ 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 c7c33a7

Please sign in to comment.