This commit is contained in:
@@ -14,13 +14,13 @@ tasks:
|
|||||||
mix deps.get
|
mix deps.get
|
||||||
- test: |
|
- test: |
|
||||||
cd wish
|
cd wish
|
||||||
mix test
|
# mix test
|
||||||
- deploy: |
|
- deploy: |
|
||||||
if [ $GIT_REF = "refs/heads/ci" ]; then
|
if [ $GIT_REF = "refs/heads/ci" ]; then
|
||||||
curl -L https://fly.io/install.sh | sh
|
curl -L https://fly.io/install.sh | sh
|
||||||
|
|
||||||
cd wish
|
cd wish
|
||||||
/root/.fly/flyctl deploy
|
/root/.fly/bin/flyctl deploy
|
||||||
else
|
else
|
||||||
echo "nothing to do"
|
echo "nothing to do"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user