]> git.r.bdr.sh - rbdr/r.bdr.sh/blobdiff - scripts/ci.sh
Make only upload sudo
[rbdr/r.bdr.sh] / scripts / ci.sh
index b97ed3b5b5e28f198a17535182a0d77470e13d57..9054b5dd348b7e8f0f06f9e9a88f3d64b792e8f9 100755 (executable)
@@ -7,10 +7,10 @@ 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
+                               sudo make environment=production upload
                                exit 0;
 fi
 
 echo "Deploying to Dev"
 export S3_BUCKET=limited.pizza;
-make upload
+sudo make upload