diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 80c97162..f35dceac 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -70,7 +70,7 @@ jobs: deploy: name: Deploy to GitHub pages # Do not run this unless *pushing* to `master`. - if: github.event_name == 'push' && github.ref == 'refs/heads/master' + if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'gbdev/gb-asm-tutorial' environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} @@ -79,4 +79,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v4 \ No newline at end of file