X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/blobdiff_plain/d63aca4c0083843965b47c9db72244871109e491..621f1f8bb97e33dcd3bd69d64e1adeef8249de29:/scripts/ci.sh?ds=sidebyside diff --git a/scripts/ci.sh b/scripts/ci.sh index 1299645..385749d 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh @@ -2,12 +2,11 @@ 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; + echo "S3_BUCKET=unlimited.pizza" >> .env sudo make environment=production upload exit 0; fi