From feb9080a3ebbf6d3545b3faaa9a1460231da6b4d Mon Sep 17 00:00:00 2001 From: Lucy Joshua <43093984+notBscalE@users.noreply.github.com> Date: Sat, 25 Feb 2023 01:29:04 +0200 Subject: [PATCH] Updated config.yml --- .circleci/config.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 65d0b88..7a5f44e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,6 +2,20 @@ # See: https://circleci.com/docs/2.0/configuration-reference version: 2.1 +workflows: + clone-and-run: + jobs: + - clone + #filters: + # branches: + # only: main + - deploy + #requires: + # - clone + #filters: + # branches: + # only: main + jobs: clone: machine: @@ -16,18 +30,4 @@ jobs: steps: - run: name: Deploy Over SSH - 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 \ No newline at end of file + command: ssh $SSH_USER@$SSH_HOST "cd /etc/BotYam && docker-compose up -d --build" \ No newline at end of file