diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 776b942..395a778 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -51,6 +51,7 @@ jobs: name: github-pages url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest + if: github.ref == 'refs/heads/main' steps: - name: Deploy to GitHub Pages id: deployment