Final ci test before merge
Some checks reported errors
builds.sr.ht Job failed

This commit is contained in:
2024-01-10 01:28:27 +00:00
parent 124e9f3c75
commit 5eff7426b7

View File

@@ -14,18 +14,19 @@ tasks:
mix deps.get
- test: |
cd wish
# mix test
mix test
- deploy: |
if [ $GIT_REF = "refs/heads/ci" ]; then
curl -L https://fly.io/install.sh | sh
export FLYCTL_INSTALL="/home/build/.fly"
export PATH="$FLYCTL_INSTALL/bin:$PATH"
cd wish
set +x
echo "running fly deploy"
flyctl -t test deploy
export FLY_ACCESS_TOKEN=$(cat ~/.fly_secret_key)
set -x
cd wish
flyctl status
else
echo "nothing to do"
fi