From 8339b6b175295e9f1833dc0dbd96f000009accd3 Mon Sep 17 00:00:00 2001 From: Daniel Patterson Date: Wed, 10 Jan 2024 00:55:25 +0000 Subject: [PATCH] Fix deploy and use ci branch for now --- .build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.build.yml b/.build.yml index fafe231..33136a6 100644 --- a/.build.yml +++ b/.build.yml @@ -16,12 +16,13 @@ tasks: cd wish mix test - deploy: | - if [ $GIT_REF = "main" ]; then + if [ $GIT_REF = "ci" ]; then curl -L https://fly.io/install.sh | sh export FLYCTL_INSTALL="/root/.fly" export PATH="$FLYCTL_INSTALL/bin:$PATH" + cd wish - fly deploy + flyctl deploy else echo "nothing to do" fi