Skip to content
Snippets Groups Projects
Commit 46c2208e authored by Erik Hedenström's avatar Erik Hedenström
Browse files

Fixed aws cp command

parent 565192f3
Branches
Tags 0.1.1
No related merge requests found
Pipeline #1417 passed
......@@ -24,7 +24,7 @@ upload:
script:
- git describe --tags --long > $CI_PROJECT_NAME-version.txt
- eval $(vaultenv read -s secret/gitlab-ci/s3)
- aws s3 cp . s3://s3.hedenstroem.com/utils/$CI_PROJECT_NAME/ --exclude="*" --include="$CI_PROJECT_NAME-*"
- aws s3 cp . s3://s3.hedenstroem.com/utils/$CI_PROJECT_NAME/ --recursive --exclude="*" --include="$CI_PROJECT_NAME-*"
- aws configure set preview.cloudfront true
- aws cloudfront create-invalidation --distribution-id $CLOUDFRONT_DISTRIBUTION_ID --paths "/utils/$CI_PROJECT_NAME/*"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment