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:
184184 --push \
185185 --image-label ${{ github.sha }} \
186186 --build-arg COMMIT_SHA=${{ github.sha }} \
187+ --build-secret SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }} \
187188 --app ${{ steps.app_name.outputs.value }}
188189 env :
189190 FLY_API_TOKEN : ${{ secrets.FLY_API_TOKEN }}
@@ -213,16 +214,16 @@ jobs:
213214 - name : 🚀 Deploy Staging
214215 if : ${{ github.ref == 'refs/heads/dev' }}
215216 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
218220 env :
219221 FLY_API_TOKEN : ${{ secrets.FLY_API_TOKEN }}
220222
221223 - name : 🚀 Deploy Production
222224 if : ${{ github.ref == 'refs/heads/main' }}
223225 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 }}"
227228 env :
228229 FLY_API_TOKEN : ${{ secrets.FLY_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments