diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7568698..6158063 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,8 +31,9 @@ docker-build: - if: $CI_COMMIT_BRANCH exists: - Dockerfile - - if: ($CI_COMMIT_BRANCH == "master" || $CI_COMMIT_BRANCH == "dev") - when: always + only: + - master + - dev before_script: - apt-get update -qq @@ -47,7 +48,7 @@ before_script: deploy_staging: type: deploy script: - - ssh $SSH_SERVER "cd /root && docker-compose up -d shbot && exit" + - ssh $SSH_SERVER "cd /root && docker-compose up -d bot && exit" only: - master \ No newline at end of file