Skip to content

Commit d67cf67

Browse files
authored
Update Makefile Params
Added read of Exports
1 parent 0c0cc62 commit d67cf67

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ destroy:
66
deploy:
77
node ./validate.js
88
./node_modules/.bin/serverless deploy
9-
CLOUDFRONT_DISTRIBUTION_ID="" node deploy.js
10-
CLOUDFRONT_DISTRIBUTION_ID="" node create-invalidation.js
9+
CLOUDFRONT_DISTRIBUTION_ID="${CLOUDFRONT_DISTRIBUTION_ID}" node deploy.js
10+
CLOUDFRONT_DISTRIBUTION_ID="${CLOUDFRONT_DISTRIBUTION_ID}" node create-invalidation.js
1111

1212
invalidate:
13-
CLOUDFRONT_DISTRIBUTION_ID="" node create-invalidation.js
13+
CLOUDFRONT_DISTRIBUTION_ID="${CLOUDFRONT_DISTRIBUTION_ID}" node create-invalidation.js
1414

1515
listinvalidations:
1616
aws cloudfront list-invalidations --distribution-id "" | head

0 commit comments

Comments
 (0)