[CI][Deploy] fix master okteto deploy

This commit is contained in:
Guillaume De Saint Martin
2021-07-22 15:44:59 +02:00
committed by Guillaume De Saint Martin
parent 98fa4c1cae
commit a90fc13a09
2 changed files with 2 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ In short :
- Get 60-day free Digital Ocean hosting by registering with [OctoBot referral link](https://m.do.co/c/40c9737100b1).
[![Develop on Okteto](https://okteto.com/develop-okteto.svg)](https://cloud.okteto.com/deploy?repository=https://github.com/Drakkar-Software/OctoBot)
[![Develop on Okteto](https://okteto.com/develop-okteto.svg)](https://cloud.okteto.com/deploy?repository=https://github.com/Drakkar-Software/OctoBot&branch=master)
- Free 24-hour demo repeatable indefinitely on Okteto simply using your Github account

View File

@@ -2,7 +2,7 @@ icon: https://raw.githubusercontent.com/Drakkar-Software/OctoBot/assets/octopus.
deploy:
- echo "" >> .env
- |
if [[ -z "$OKTETO_GIT_BRANCH" ]] ; then
if [[ "$OKTETO_GIT_BRANCH" == "master" ]] ; then
echo "DOCKER_IMAGE=drakkarsoftware/octobot:stable" >> .env
echo "TENTACLES_REPOSITORY=tentacles" >> .env
echo "TENTACLES_URL_TAG=" >> .env