diff --git a/.ci/deploy.sh b/.ci/deploy.sh index dbf0c2a447d74046636ca8e8bee1b578acc8bf39..cbc551a9d370fc72e8431a726c05d580bfcb21d3 100644 --- a/.ci/deploy.sh +++ b/.ci/deploy.sh @@ -10,9 +10,9 @@ rm -rf $rootDir/public rm -rf $rootDir/theme mkdir $rootDir/public -if [[ $CI_COMMIT_BRANCH == "develop" ]]; then +if [[ $CI_COMMIT_REF_NAME == "develop" ]]; then version="latest"; -elif [[ $CI_COMMIT_BRANCH == "master" ]]; then +elif [[ $CI_COMMIT_REF_NAME == "master" ]]; then version="stable"; else version="unstable";