Skip to content

Commit eb9c5d2

Browse files
Document why deploy is not run
1 parent 63ea0ae commit eb9c5d2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ jobs:
9898
deploy-ios:
9999
runs-on: macos-14
100100
needs: ["test-ios"]
101-
if: ${{ github.ref == 'refs/heads/main' }}
101+
# We cannot build in PRs because secrets are not available in PRs.
102+
if: ${{ github.repository == 'authgear/authgear-sdk-flutter' && github.ref == 'refs/heads/main' }}
102103
defaults:
103104
run:
104105
working-directory: "./example"
@@ -164,7 +165,8 @@ jobs:
164165
deploy-android:
165166
runs-on: macos-14
166167
needs: ["test-android"]
167-
if: ${{ github.ref == 'refs/heads/main' }}
168+
# We cannot build in PRs because secrets are not available in PRs.
169+
if: ${{ github.repository == 'authgear/authgear-sdk-flutter' && github.ref == 'refs/heads/main' }}
168170
defaults:
169171
run:
170172
working-directory: "./example"

0 commit comments

Comments
 (0)