diff --git a/ci/scripts/deploy b/ci/scripts/deploy index a7964df4..b2e96bf9 100755 --- a/ci/scripts/deploy +++ b/ci/scripts/deploy @@ -10,4 +10,4 @@ touch index.html && aws s3 cp index.html s3://${S3_BUCKET} --region ${REGION} # invalidate cloudfront distribution echo "invalidate cloudfront distribution 🔄" -AWS_PAGER="" aws cloudfront create-invalidation --distribution-id ${CLOUDFRONT_DISTRIBUTION_ID} --paths '/docs*' \ No newline at end of file +aws cloudfront create-invalidation --distribution-id ${CLOUDFRONT_DISTRIBUTION_ID} --paths '/docs*' \ No newline at end of file diff --git a/ci/scripts/prepare b/ci/scripts/prepare index 399899a4..ce49610d 100755 --- a/ci/scripts/prepare +++ b/ci/scripts/prepare @@ -16,6 +16,7 @@ BRANCH_CLOUDFRONT_DISTRIBUTION_ID=${BRANCH}_CLOUDFRONT_DISTRIBUTION_ID BRANCH_REGION=${BRANCH}_REGION aws configure set aws_access_key_id ${!BRANCH_AWS_ACCESS_KEY_ID} aws configure set aws_secret_access_key ${!BRANCH_AWS_SECRET_ACCESS_KEY} +aws configure set region us-east-1 export S3_BUCKET=${!BRANCH_BUCKET_NAME} export CLOUDFRONT_DISTRIBUTION_ID=${!BRANCH_CLOUDFRONT_DISTRIBUTION_ID}