Updated config.yml
This commit is contained in:
parent
8009936a64
commit
feb9080a3e
1 changed files with 15 additions and 15 deletions
|
|
@ -2,6 +2,20 @@
|
||||||
# See: https://circleci.com/docs/2.0/configuration-reference
|
# See: https://circleci.com/docs/2.0/configuration-reference
|
||||||
version: 2.1
|
version: 2.1
|
||||||
|
|
||||||
|
workflows:
|
||||||
|
clone-and-run:
|
||||||
|
jobs:
|
||||||
|
- clone
|
||||||
|
#filters:
|
||||||
|
# branches:
|
||||||
|
# only: main
|
||||||
|
- deploy
|
||||||
|
#requires:
|
||||||
|
# - clone
|
||||||
|
#filters:
|
||||||
|
# branches:
|
||||||
|
# only: main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
clone:
|
clone:
|
||||||
machine:
|
machine:
|
||||||
|
|
@ -17,17 +31,3 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: Deploy Over SSH
|
name: Deploy Over SSH
|
||||||
command: ssh $SSH_USER@$SSH_HOST "cd /etc/BotYam && docker-compose up -d --build"
|
command: ssh $SSH_USER@$SSH_HOST "cd /etc/BotYam && docker-compose up -d --build"
|
||||||
|
|
||||||
workflows:
|
|
||||||
clone-and-run:
|
|
||||||
jobs:
|
|
||||||
- clone:
|
|
||||||
filters:
|
|
||||||
branches:
|
|
||||||
only: main
|
|
||||||
- deploy:
|
|
||||||
requires:
|
|
||||||
- clone
|
|
||||||
filters:
|
|
||||||
branches:
|
|
||||||
only: main
|
|
||||||
Loading…
Reference in a new issue