]> git.r.bdr.sh - rbdr/r.bdr.sh/commitdiff
Make only upload sudo
authorRuben Beltran del Rio <redacted>
Wed, 11 May 2022 21:39:05 +0000 (23:39 +0200)
committerRuben Beltran del Rio <redacted>
Wed, 11 May 2022 21:39:05 +0000 (23:39 +0200)
.build.yml
scripts/ci.sh

index a664a2679b8777b21297f395f19a194ce53ddb67..9ce557c8db1240663c1cc108b4bb4efd20e6809f 100644 (file)
@@ -11,4 +11,4 @@ tasks:
   - start-docker: sudo service docker start
   - upload: |
       cd unlimited.pizza
-      sudo make ci
+      make ci
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