mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
Update .gitlab-ci.yml file
This commit is contained in:
+4
-1
@@ -33,7 +33,10 @@ 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"
|
||||
- >
|
||||
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..."
|
||||
|
||||
Reference in New Issue
Block a user