Skip to content

Commit a088fe2

Browse files
authored
Merge pull request #4 from printedheart/fix-makefile-params
Update Makefile Params
2 parents 0c0cc62 + d67cf67 commit a088fe2

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)