File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ jobs:
142142 - name : Push Zip and JSON to S3
143143 env :
144144 # Add `--dryrun` if not on "push" event on default branch.
145- AWS_S3_OPTIONS : --color=on --no-progress ${{ github.ref_name == 'master' && '' || ' --dryrun ' }}
145+ AWS_S3_OPTIONS : --color=on --no-progress ${{ github.ref_name != 'master' && ' --dryrun ' || '' }}
146146 run : |
147147 # Not an app, but artifact from the setup job.
148148 mv ./apps/console-json ./console-json
@@ -152,6 +152,6 @@ jobs:
152152
153153 - name : Invalidate Cloudfront Cache
154154 env :
155- ECHO : ${{ ( github.event_name == 'push ' && github.ref_name == 'master') && '' || 'echo ' }}
155+ ECHO : ${{ github.ref_name != 'master ' && ' echo' || '' }}
156156 run : |
157157 $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