10
.build.yml
10
.build.yml
@@ -15,3 +15,13 @@ tasks:
|
||||
- test: |
|
||||
cd wish
|
||||
mix test
|
||||
- deploy: |
|
||||
if [ $GIT_REF = "main" ]; then
|
||||
curl -L https://fly.io/install.sh | sh
|
||||
export FLYCTL_INSTALL="/root/.fly"
|
||||
export PATH="$FLYCTL_INSTALL/bin:$PATH"
|
||||
cd wish
|
||||
fly deploy
|
||||
else
|
||||
echo "nothing to do"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user