Skip to content
Snippets Groups Projects
Commit e367e556 authored by bhill6@wisc.edu's avatar bhill6@wisc.edu
Browse files

Update .gitlab-ci.yml -- fixing test vs prod deployment tasks

parent d15f9a16
No related branches found
No related tags found
No related merge requests found
......@@ -39,11 +39,19 @@ deploy:
- aws cloudfront create-invalidation --distribution-id $DEV_CFDIST_ID --paths '/*'
only:
- master@adi-ia/course-search-enroll-fe
deploy_test:
stage: deploy
script:
- aws s3 sync --acl public-read --sse --delete s3://$S3_BUCKET_NAME s3://$TEST_S3_BUCKET_NAME
only:
- master@adi-ia/course-search-enroll-fe
when: manual
deploy_prod:
stage: deploy
script:
- aws s3 sync --acl public-read --sse --delete s3://$TEST_S3_BUCKET_NAME s3://PROD_S3_BUCKET_NAME
- aws s3 sync --acl public-read --sse --delete s3://$TEST_S3_BUCKET_NAME s3://$PROD_S3_BUCKET_NAME
only:
- master@adi-ia/course-search-enroll-fe
when: manual
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment