Skip to content

Commit 21c077a

Browse files
fix: resolve 167
1 parent 52c0637 commit 21c077a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
deploy:
7171
name: Deploy to GitHub pages
7272
# Do not run this unless *pushing* to `master`.
73-
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
73+
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'gbdev/gb-asm-tutorial'
7474
environment:
7575
name: github-pages
7676
url: ${{ steps.deployment.outputs.page_url }}
@@ -79,4 +79,4 @@ jobs:
7979
steps:
8080
- name: Deploy to GitHub Pages
8181
id: deployment
82-
uses: actions/deploy-pages@v4
82+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)