Skip to content

Commit 4668375

Browse files
MagicMock/mock.effective_git_name/140297175410272claude
authored andcommitted
Fix CI: only deploy to GitHub Pages on pushes to main
The deploy job's branch guard was commented out, causing it to run on PRs and non-main branches, which fails due to environment protection rules. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent a6c0abd commit 4668375

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
path: public
3030

3131
deploy:
32-
# if: github.ref == 'refs/heads/main'
32+
if: github.ref == 'refs/heads/main'
3333
runs-on: ubuntu-latest
3434
needs: build
3535
permissions:

0 commit comments

Comments
 (0)