diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 8c1e3fe..7b6232b 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -35,6 +35,7 @@ jobs: # Deployment job deploy: + if: github.ref == 'refs/heads/main' environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }}