mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-24 23:35:45 +00:00
Update .gitlab-ci.yml file
This commit is contained in:
@@ -32,6 +32,9 @@ stages:
|
|||||||
entrypoint: ["/bin/sh", "-c"]
|
entrypoint: ["/bin/sh", "-c"]
|
||||||
script:
|
script:
|
||||||
- aws --version
|
- aws --version
|
||||||
|
- echo "🧹 Cleaning up newline characters in AWS credentials..."
|
||||||
|
- export AWS_ACCESS_KEY_ID=$(echo $AWS_ACCESS_KEY_ID | tr -d '\r\n')
|
||||||
|
- export AWS_SECRET_ACCESS_KEY=$(echo $AWS_SECRET_ACCESS_KEY | tr -d '\r\n')
|
||||||
- echo "🚀 Deploying to s3://$S3_BUCKET in region $AWS_REGION"
|
- 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"
|
||||||
- |
|
- |
|
||||||
|
|||||||
Reference in New Issue
Block a user