]> git.r.bdr.sh - rbdr/r.bdr.sh/commitdiff
Put the .env in the right placce
authorRuben Beltran del Rio <redacted>
Sat, 14 May 2022 12:37:54 +0000 (14:37 +0200)
committerRuben Beltran del Rio <redacted>
Sat, 14 May 2022 12:37:54 +0000 (14:37 +0200)
.build.yml
scripts/ci.sh

index ecfb3ca1f628d9f5a909de234247564c3cfb00a3..26b8201f9389068b0d80b37d564add7500ada19e 100644 (file)
@@ -7,7 +7,7 @@ sources:
   - git@git.sr.ht:~rbdr/unlimited.pizza
 secrets:
   - 21c73f87-a944-4560-a616-2dfd558c72da
-  - b0a02520-2494-4581-a91f-ad7f1cdc590b
+  - 46f739e5-4538-45dd-a79f-bf173b7a2ed9
 tasks:
   - start-docker: sudo service docker start
   - upload: |
index 12996459374ace9c4229e6ac0925007e18796ef2..3dfc7492032da851b2002640e30775d181592d45 100755 (executable)
@@ -2,8 +2,7 @@
 
 set -xe
 
-
-touch .env
+cp ~/.env .env
 
 if [ "$(git rev-parse origin/main)" == "$(git rev-parse HEAD)" ]; then \
         echo "Deploying to Production"