Fix deploy and use ci branch for now
Some checks reported errors
builds.sr.ht Job failed

This commit is contained in:
2024-01-10 00:55:25 +00:00
parent 24c6700f73
commit 3f26bb457e

View File

@@ -16,12 +16,11 @@ tasks:
cd wish
mix test
- deploy: |
if [ $GIT_REF = "main" ]; then
if [ $GIT_REF = "refs/heads/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
/root/.fly/flyctl deploy
else
echo "nothing to do"
fi