ci(aio): deploy previews from aio-master (#15137)
This commit is contained in:
parent
abbbb4d52c
commit
060a2d11e5
|
@ -40,9 +40,9 @@ case ${CI_MODE} in
|
||||||
travisFoldEnd "deploy.packages"
|
travisFoldEnd "deploy.packages"
|
||||||
;;
|
;;
|
||||||
aio)
|
aio)
|
||||||
# Don't deploy if this build is not for master
|
# Don't deploy if this build is not for master or aio-master
|
||||||
if [[ ${TRAVIS_BRANCH} != "master" ]]; then
|
if [[ ${TRAVIS_BRANCH} != "master" && ${TRAVIS_BRANCH} != "aio-master" ]]; then
|
||||||
echo "Skipping deploy because this build is not for master."
|
echo "Skipping deploy because this build is not for master or aio-master."
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -76,6 +76,9 @@ case ${CI_MODE} in
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
travisFoldEnd "deploy.aio.pr-preview"
|
travisFoldEnd "deploy.aio.pr-preview"
|
||||||
|
elif [[ ${TRAVIS_BRANCH} == "aio-master" ]]; then
|
||||||
|
# This is upstream aio-master: Don't deploy to staging
|
||||||
|
echo "Skipping deploy to staging because this build is for upstream aio-master."
|
||||||
else
|
else
|
||||||
# This is upstream master: Deploy to staging
|
# This is upstream master: Deploy to staging
|
||||||
travisFoldStart "deploy.aio.staging"
|
travisFoldStart "deploy.aio.staging"
|
||||||
|
|
Loading…
Reference in New Issue