Update .gitlab-ci.yml file

This commit is contained in:
Aaron Riedel 2022-03-06 10:36:37 +00:00
parent b257103901
commit 4849bafce3

View file

@ -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