@@ -16,13 +16,15 @@ 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
|
||||||
export FLYCTL_INSTALL="/home/build/.fly"
|
export FLYCTL_INSTALL="/home/build/.fly"
|
||||||
export PATH="$FLYCTL_INSTALL/bin:$PATH"
|
export PATH="$FLYCTL_INSTALL/bin:$PATH"
|
||||||
|
|
||||||
|
ls -a ~
|
||||||
|
|
||||||
set +x
|
set +x
|
||||||
export FLY_ACCESS_TOKEN=$(cat ~/.fly_secret_key)
|
export FLY_ACCESS_TOKEN=$(cat ~/.fly_secret_key)
|
||||||
set -x
|
set -x
|
||||||
|
|||||||
Reference in New Issue
Block a user