From bb9c9c75878f0a07c461f669e63da4fbaed05eae Mon Sep 17 00:00:00 2001 From: anatolykopyl Date: Tue, 10 May 2022 02:36:21 +0300 Subject: [PATCH] Specified branch --- .drone.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index f41d882..230e3e6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,17 +12,18 @@ steps: SSH_KEY: from_secret: SSH_KEY commands: - - git clone https://git.radner.ru/anatolykopyl/worktime.git - - cd worktime + - git clone -b cloud-saves https://git.radner.ru/anatolykopyl/worktime.git + - cd worktime/frontend - npm install - npm run build - mkdir ~/.ssh - echo "$SSH_KEY" > ~/.ssh/id_rsa - chmod 400 ~/.ssh/id_rsa - scp -o StrictHostKeyChecking=no -r dist/* webmaster@worktime.anatolykopyl.ru:~/www/worktime.anatolykopyl.ru - when: - branch: - - cloud-saves + +trigger: + branch: + - cloud-saves ---