X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/blobdiff_plain/c0e61f033c89e30a39044d302e7dffa9589c637a..927169de5a2d78b476c6335c008945a6447518a8:/scripts/ci.sh?ds=inline diff --git a/scripts/ci.sh b/scripts/ci.sh index 83e7551..385749d 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh @@ -2,13 +2,11 @@ set -xe -exit 1 - -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; + echo "S3_BUCKET=unlimited.pizza" >> .env sudo make environment=production upload exit 0; fi