Skip to content

Commit

Permalink
Fix deploy GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
juliaferraioli authored Jul 15, 2024
1 parent 7a18fdb commit 071e2e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
extended: true

- name: Build Main
if: github.ref == 'refs/heads/main' && github.repository_owner == 'tlaplus'
if: github.repository_owner == 'tlaplus'
run: hugo --baseURL=$PROD_SITE --minify

- name: Build Dev
Expand All @@ -37,6 +37,7 @@ jobs:

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public

0 comments on commit 071e2e7

Please sign in to comment.