This commit is contained in:
@@ -18,9 +18,11 @@ tasks:
|
|||||||
- 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
|
||||||
|
export FLYCTL_INSTALL="/home/build/.fly"
|
||||||
|
export PATH="$FLYCTL_INSTALL/bin:$PATH"
|
||||||
|
|
||||||
cd wish
|
cd wish
|
||||||
/root/.fly/bin/flyctl deploy
|
flyctl deploy
|
||||||
else
|
else
|
||||||
echo "nothing to do"
|
echo "nothing to do"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user