From 1563b236433338a9f711cbf6385fa43a5006604f Mon Sep 17 00:00:00 2001 From: Ariejan de Vroom Date: Thu, 16 Mar 2017 20:27:21 +0100 Subject: [PATCH] Use s3cmd for uploading --- .gitlab-ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 65fafdc..0cd0602 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,7 +17,7 @@ build: deploy_prod: stage: deploy script: - - aws s3 sync public/ s3://$AWS_BUCKET + - s3cmd sync --acl-public --reduced-redundancy --delete-removed --cf-invalidate public/* s3://$AWS_BUCKET artifacts: paths: - public @@ -26,5 +26,3 @@ deploy_prod: url: https://www.devroom.io only: - master - - #- rsync -az4 --stats --delete-after public/* -e "ssh -i ~/.ssh/id_rsa -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" ariejan@mail.devroom.io:/home/ariejan/www/ariejan.net/