Skip to content

Commit

Permalink
Set AWS_PAGER to empty for cloudfront invalidation command
Browse files Browse the repository at this point in the history
  • Loading branch information
mofhusseini committed Jun 23, 2022
1 parent 785a9a1 commit 5e58d7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/scripts/deploy
Original file line number Diff line number Diff line change
Expand Up @@ -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 cloudfront create-invalidation --distribution-id ${CLOUDFRONT_DISTRIBUTION_ID} --paths '/docs*'
AWS_PAGER="" aws cloudfront create-invalidation --distribution-id ${CLOUDFRONT_DISTRIBUTION_ID} --paths '/docs*'

0 comments on commit 5e58d7c

Please sign in to comment.