]> git.r.bdr.sh - rbdr/r.bdr.sh/blobdiff - scripts/ci.sh
Revert to normal bundling
[rbdr/r.bdr.sh] / scripts / ci.sh
index 5dcfaf3e6ad13ba6d647ccc73f5834a7d3976203..12996459374ace9c4229e6ac0925007e18796ef2 100755 (executable)
@@ -2,13 +2,16 @@
 
 set -xe
 
+
+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