From d963985d3ffec5cc085e6ed0087156799aefaa40 Mon Sep 17 00:00:00 2001 From: Cocoa Date: Mon, 25 Dec 2023 23:58:06 +0800 Subject: [PATCH] run deploy only when the repo is jeremysinger/capabilitiesforcoders --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef0d789..1fad01f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: needs: build steps: - name: deploy - if: github.event_name == 'push' && github.ref == 'refs/heads/main' + if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository == 'jeremysinger/capabilitiesforcoders' env: DEPLOY_HOOK_URL: ${{ secrets.DEPLOY_HOOK_URL }} run: |