]> git.r.bdr.sh - rbdr/r.bdr.sh/blobdiff - scripts/ci.sh
Update images
[rbdr/r.bdr.sh] / scripts / ci.sh
index 83e7551252c0b246ede682165af3b8dd5645055d..385749d414e9c88109b9f125f018f1252dbc908f 100755 (executable)
@@ -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