File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -36,12 +36,11 @@ commands:
36
36
cloudfront-id :
37
37
description : AWS CloudFront ID
38
38
type : string
39
- default : E2IU0JVSGDL1DE
40
39
steps :
41
40
- aws-cli/install
42
41
- run :
43
42
name : Create AWS CloudFront invalidation
44
- command : aws cloudfront create-invalidation --distribution-id << parameters.cloudfront-id >> --paths "/*"
43
+ command : aws cloudfront create-invalidation --distribution-id ${AWS_DISTRIBUTION_ID} --paths "/*"
45
44
46
45
jobs :
47
46
install :
@@ -229,7 +228,6 @@ jobs:
229
228
cloudfront-id :
230
229
description : AWS CloudFront ID
231
230
type : string
232
- default : E2IU0JVSGDL1DE
233
231
steps :
234
232
- checkout
235
233
- restore_workspace
@@ -268,10 +266,10 @@ jobs:
268
266
from : ~/react-widgets/packages/node_modules/@webex/widget-demo/dist
269
267
to : s3://${AWS_BUCKET}/widget-demo/archives/${VERSION_NUMBER}
270
268
- when :
271
- condition : << parameters.cloudfront-id >>
269
+ condition : ${AWS_DISTRIBUTION_ID}
272
270
steps :
273
271
- aws-cloudfront-invalidation :
274
- cloudfront-id : << parameters.cloudfront-id >>
272
+ cloudfront-id : ${AWS_DISTRIBUTION_ID}
275
273
276
274
promote_alpha_to_beta :
277
275
executor : main-executor
You can’t perform that action at this time.
0 commit comments