]> git.r.bdr.sh - rbdr/r.bdr.sh/blobdiff - scripts/ci.sh
Remove gitlab CI
[rbdr/r.bdr.sh] / scripts / ci.sh
index b97ed3b5b5e28f198a17535182a0d77470e13d57..3dfc7492032da851b2002640e30775d181592d45 100755 (executable)
@@ -2,15 +2,15 @@
 
 set -xe
 
 
 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;
 
 if [ "$(git rev-parse origin/main)" == "$(git rev-parse HEAD)" ]; then \
         echo "Deploying to Production"
                                export S3_BUCKET=unlimited.pizza;
-                               make environment=production upload
+                               sudo make environment=production upload
                                exit 0;
 fi
 
 echo "Deploying to Dev"
 export S3_BUCKET=limited.pizza;
                                exit 0;
 fi
 
 echo "Deploying to Dev"
 export S3_BUCKET=limited.pizza;
-make upload
+sudo make upload