From 87cbfb13993e9425b0860a7801ded1882f4cba14 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 16 Jan 2023 00:14:33 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB(?= =?UTF-8?q?=D0=B0)=20=D0=BD=D0=B0=20'.drone.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit New stage --- .drone.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index a5bac72..673e023 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,7 +1,7 @@ --- kind: pipeline type: docker -name: Building +name: Deploy Bot clone: disable: true @@ -17,7 +17,7 @@ steps: - git checkout $DRONE_COMMIT - tar -czpf tox.tar.gz * - - name: prepare + - name: prepare source image: appleboy/drone-ssh settings: host: @@ -28,9 +28,9 @@ steps: port: 22 command_timeout: 2m script: - - mkdir ~/tox_source + - if [ ! -f /path/to/file ] then mkdir ~/tox_source fi - - name: scp files + - name: copy files image: appleboy/drone-scp settings: host: @@ -42,7 +42,7 @@ steps: target: ~/ source: tox.tar.gz - - name: ssh + - name: build image: appleboy/drone-ssh settings: host: @@ -53,8 +53,8 @@ steps: port: 22 command_timeout: 2m script: - - echo "Hello World" - - mkdir ~/test + - tar -xvzf dtox.tar.gz -C ~/tox_source + - ls -la ~/tox_source # server: