Skip to content

Commit

Permalink
Fix syntax in GHA workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderploegsma committed Jan 23, 2024
1 parent 07dd5c8 commit 4ee1551
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: actions/upload-pages-artifact@0252fc4ba7626f0298f0cf00902a25c6afc77fa8
with:
path: build/docs
if: ${{ github.ref == "refs/head/main" }}
if: ${{ github.ref == "refs/heads/main" }}

deploy:
name: Deploy to GitHub Pages
Expand All @@ -42,7 +42,7 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-22.04
if: ${{ github.ref == "refs/head/main" }}
if: github.ref == "refs/heads/main"
steps:
- name: Deploy to GitHub Pages
id: deployment
Expand Down

0 comments on commit 4ee1551

Please sign in to comment.