mirror of
https://github.com/kremalicious/portfolio.git
synced 2025-01-03 18:35:00 +01:00
deployment
This commit is contained in:
parent
ad0fe10104
commit
ac3084c2ee
@ -23,6 +23,6 @@ deploy:
|
|||||||
image: garland/aws-cli-docker:latest
|
image: garland/aws-cli-docker:latest
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
- aws s3 sync ./public s3://beta.matthiaskretschmann.com --delete --acl public-read
|
- aws s3 sync --delete --acl public-read ./public s3://matthiaskretschmann.com
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
@ -5,8 +5,7 @@ set -e;
|
|||||||
aws s3 sync \
|
aws s3 sync \
|
||||||
--delete \
|
--delete \
|
||||||
--acl public-read \
|
--acl public-read \
|
||||||
./public \
|
./public s3://matthiaskretschmann.com
|
||||||
s3://matthiaskretschmann.com
|
|
||||||
|
|
||||||
echo "---------------------------------------------"
|
echo "---------------------------------------------"
|
||||||
echo " ✓ done deployment "
|
echo " ✓ done deployment "
|
||||||
|
Loading…
Reference in New Issue
Block a user