X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/blobdiff_plain/29e93a8153238753cd23aacdc2dda54f5c05f825..c0e61f033c89e30a39044d302e7dffa9589c637a:/scripts/ci.sh?ds=sidebyside diff --git a/scripts/ci.sh b/scripts/ci.sh index 5dcfaf3..83e7551 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh @@ -2,13 +2,17 @@ set -xe +exit 1 + +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 + export S3_BUCKET=unlimited.pizza; + sudo make environment=production upload exit 0; fi echo "Deploying to Dev" -export $S3_BUCKET=limited.pizza; -make upload +export S3_BUCKET=limited.pizza; +sudo make upload