File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -144,8 +144,7 @@ jobs:
144144
145145 - name : Push Zip and JSON to S3
146146 env :
147- # Add `--dryrun` if not on "push" event on default branch.
148- AWS_S3_OPTIONS : --color=on --no-progress ${{ env.DRY_RUN && ' --dryrun' || '' }}
147+ AWS_S3_OPTIONS : --color=on --no-progress ${{ env.DRY_RUN == 'true' && ' --dryrun' || '' }}
149148 run : |
150149 # Not an app, but artifact from the setup job.
151150 mv ./apps/console-json ./console-json
@@ -155,6 +154,6 @@ jobs:
155154
156155 - name : Invalidate Cloudfront Cache
157156 env :
158- ECHO : ${{ env.DRY_RUN && 'echo' || '' }}
157+ ECHO : ${{ env.DRY_RUN == 'true' && 'echo' || '' }}
159158 run : |
160159 $ECHO aws cloudfront create-invalidation --distribution-id "${AWS_CLOUDFRONT_DISTRIBUTION_ID}" --paths "${S3_UPLOAD_PREFIX}/*" --output text
You can’t perform that action at this time.
0 commit comments