From ad9dce9a89b5a63a7629ecb36964d6b95426f302 Mon Sep 17 00:00:00 2001 From: gav Date: Sun, 8 May 2022 13:49:28 +0700 Subject: [PATCH] Update '.drone.yml' --- .drone.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 982f53e..7d643d2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,7 +1,7 @@ --- kind: pipeline type: docker -name: default-ssh-pipeline +name: deploy-to-docker-vm clone: disable: true @@ -17,10 +17,16 @@ steps: from_secret: docker_privkey port: 2200 script: - - id - whoami - uname -a - - docker ps -a + - mkdir -p deploy; cd deploy + - git clone https://gitea.gavt45.ru/gav/es-bot.git + - cd es-bot + - git checkout main + - docker-compose build + when: + branch: + - main # --- # kind: pipeline