X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/blobdiff_plain/9a0c66549d4fc8b37af5c3183cf6326f0aa49681..71361867f88dc85c7b74eeae8c180e2f6b0d4159:/scripts/ci.sh?ds=inline diff --git a/scripts/ci.sh b/scripts/ci.sh index b97ed3b..385749d 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh @@ -2,15 +2,15 @@ set -xe -touch .env +cp ~/.env .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 + echo "S3_BUCKET=unlimited.pizza" >> .env + sudo make environment=production upload exit 0; fi echo "Deploying to Dev" export S3_BUCKET=limited.pizza; -make upload +sudo make upload