diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1586a0e8..59c270c5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,10 +33,7 @@ stages: script: - aws --version - echo "🚀 Deploying to s3://$S3_BUCKET in region $AWS_REGION" - - > - aws s3 sync ./out "s3://$S3_BUCKET" --delete \ - --region "$AWS_REGION" \ - --endpoint-url "https://s3.ap-southeast-3.amazonaws.com" + - aws s3 sync ./out "s3://$S3_BUCKET" --delete --region "$AWS_REGION" --endpoint-url "https://s3.ap-southeast-3.amazonaws.com" - | if [ -n "$CLOUDFRONT_DISTRIBUTION_ID" ]; then echo "📦 Invalidating CloudFront cache..."