Skip to content

Commit c56f891

Browse files
committed
Fix upload artifacts
1 parent 1280085 commit c56f891

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

infrastructure/upload-artifacts.bash

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
echo Uploading artifacts via AWS CLI...
44

5-
S3_BUCKET_ID=$(cd infrastructure && terraform output -raw s3_bucket_id)
6-
CLOUDFRONT_DISTRIBUTION_ID=$(cd infrastructure && terraform output -raw cloudfront_distribution_id)
5+
S3_BUCKET_ID=$(cd infrastructure && terraform output s3_bucket_id)
6+
CLOUDFRONT_DISTRIBUTION_ID=$(cd infrastructure && terraform output cloudfront_distribution_id)
77

88
cd dist
99
echo "window.env = { DEPLOY_ENV: \"$DEPLOY_ENV\", APP_VERSION: \"$APP_VERSION\", APP_SECRET: \"$APP_SECRET\", GA_ID: \"$GA_ID\" }" > assets/env.js

0 commit comments

Comments
 (0)