We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f41e956 commit b4db32bCopy full SHA for b4db32b
1 file changed
.github/workflows/deploy.yml
@@ -200,7 +200,7 @@ jobs:
200
uses: superfly/flyctl-actions/setup-flyctl@1.5
201
202
- name: 🚁️ Deploy PR app to Fly.io
203
- if: github.event.action != 'closed'
+ if: ${{ github.event.action != 'closed' && env.FLY_API_TOKEN }}
204
run: |
205
FLY_APP_NAME="${{ steps.app_name.outputs.value }}-pr-${{ github.event.number }}"
206
FLY_REGION=$(flyctl config show | jq -r '.primary_region')
0 commit comments