From: Ruben Beltran del Rio Date: Wed, 11 May 2022 21:39:05 +0000 (+0200) Subject: Make only upload sudo X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/commitdiff_plain/be0c737956b351d0a360fbfab7b62d7905be8b84?ds=inline Make only upload sudo --- diff --git a/.build.yml b/.build.yml index a664a26..9ce557c 100644 --- a/.build.yml +++ b/.build.yml @@ -11,4 +11,4 @@ tasks: - start-docker: sudo service docker start - upload: | cd unlimited.pizza - sudo make ci + make ci diff --git a/scripts/ci.sh b/scripts/ci.sh index b97ed3b..9054b5d 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh @@ -7,10 +7,10 @@ touch .env if [ "$(git rev-parse origin/main)" == "$(git rev-parse HEAD)" ]; then \ echo "Deploying to Production" export S3_BUCKET=unlimited.pizza; - make environment=production upload + sudo make environment=production upload exit 0; fi echo "Deploying to Dev" export S3_BUCKET=limited.pizza; -make upload +sudo make upload