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