From 717f24eeb99bec6198c56758a15642fb37eea5ac Mon Sep 17 00:00:00 2001 From: root Date: Thu, 3 Jun 2021 02:54:18 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'.drone.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 684dcfe..da9df15 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,14 +1,30 @@ kind: pipeline type: docker -name: default +name: test platform: arch: amd64 os: linux steps: - - name: config + - name: test-config image: docker/compose:1.29.2 commands: - cp .env.example .env - - docker-compose config \ No newline at end of file + - docker-compose config + +--- +kind: pipeline +type: ssh +name: publish + +server: + host: 10.10.14.176 + user: root + password: dsidel123! + +steps: + - name: publish + commands: + - pwd + - ls