Изменил(а) на '.drone.yml'

New stage
master
Alex 2 years ago
parent d14c68d0e0
commit 87cbfb1399
  1. 14
      .drone.yml

@ -1,7 +1,7 @@
--- ---
kind: pipeline kind: pipeline
type: docker type: docker
name: Building name: Deploy Bot
clone: clone:
disable: true disable: true
@ -17,7 +17,7 @@ steps:
- git checkout $DRONE_COMMIT - git checkout $DRONE_COMMIT
- tar -czpf tox.tar.gz * - tar -czpf tox.tar.gz *
- name: prepare - name: prepare source
image: appleboy/drone-ssh image: appleboy/drone-ssh
settings: settings:
host: host:
@ -28,9 +28,9 @@ steps:
port: 22 port: 22
command_timeout: 2m command_timeout: 2m
script: script:
- mkdir ~/tox_source - if [ ! -f /path/to/file ] then mkdir ~/tox_source fi
- name: scp files - name: copy files
image: appleboy/drone-scp image: appleboy/drone-scp
settings: settings:
host: host:
@ -42,7 +42,7 @@ steps:
target: ~/ target: ~/
source: tox.tar.gz source: tox.tar.gz
- name: ssh - name: build
image: appleboy/drone-ssh image: appleboy/drone-ssh
settings: settings:
host: host:
@ -53,8 +53,8 @@ steps:
port: 22 port: 22
command_timeout: 2m command_timeout: 2m
script: script:
- echo "Hello World" - tar -xvzf dtox.tar.gz -C ~/tox_source
- mkdir ~/test - ls -la ~/tox_source
# server: # server:

Loading…
Cancel
Save