Skip to content

Commit b4db32b

Browse files
committed
Fix
1 parent f41e956 commit b4db32b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ jobs:
200200
uses: superfly/flyctl-actions/setup-flyctl@1.5
201201

202202
- name: 🚁️ Deploy PR app to Fly.io
203-
if: github.event.action != 'closed'
203+
if: ${{ github.event.action != 'closed' && env.FLY_API_TOKEN }}
204204
run: |
205205
FLY_APP_NAME="${{ steps.app_name.outputs.value }}-pr-${{ github.event.number }}"
206206
FLY_REGION=$(flyctl config show | jq -r '.primary_region')

0 commit comments

Comments
 (0)