Skip to content

Commit f8b1091

Browse files
committed
修復 CI:只在主 repo 的 push 事件時部署 Pages
1 parent 5124dec commit f8b1091

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/run.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
path: ./_site
7676

7777
deploy:
78-
if: github.ref == 'refs/heads/master'
78+
if: github.ref == 'refs/heads/master' && github.event_name == 'push' && github.repository == 'cypherpunks-core/cypherpunks-core.github.io'
7979
needs: build
8080
runs-on: ubuntu-latest
8181
environment:

0 commit comments

Comments
 (0)