File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -184,6 +184,7 @@ jobs:
184
184
--push \
185
185
--image-label ${{ github.sha }} \
186
186
--build-arg COMMIT_SHA=${{ github.sha }} \
187
+ --build-secret SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }} \
187
188
--app ${{ steps.app_name.outputs.value }}
188
189
env :
189
190
FLY_API_TOKEN : ${{ secrets.FLY_API_TOKEN }}
@@ -213,16 +214,16 @@ jobs:
213
214
- name : 🚀 Deploy Staging
214
215
if : ${{ github.ref == 'refs/heads/dev' }}
215
216
run : |
216
- IMAGE="registry.fly.io/${{ steps.app_name.outputs.value }}-staging:${{ github.sha }}"
217
- flyctl deploy --image $IMAGE --app ${{ steps.app_name.outputs.value }}-staging
217
+ flyctl deploy \
218
+ --image "registry.fly.io/${{ steps.app_name.outputs.value }}-staging:${{ github.sha }}" \
219
+ --app ${{ steps.app_name.outputs.value }}-staging
218
220
env :
219
221
FLY_API_TOKEN : ${{ secrets.FLY_API_TOKEN }}
220
222
221
223
- name : 🚀 Deploy Production
222
224
if : ${{ github.ref == 'refs/heads/main' }}
223
225
run : |
224
- IMAGE="registry.fly.io/${{ steps.app_name.outputs.value }}:${{ github.sha }}"
225
- flyctl deploy --image $IMAGE \
226
- --build-secret SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}
226
+ flyctl deploy \
227
+ --image "registry.fly.io/${{ steps.app_name.outputs.value }}:${{ github.sha }}"
227
228
env :
228
229
FLY_API_TOKEN : ${{ secrets.FLY_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments