parent
dca505148d
commit
07a8a54000
@ -1,14 +1,23 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: default
|
name: test
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
arch: amd64
|
arch: amd64
|
||||||
os: linux
|
os: linux
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: config
|
- name: test-config
|
||||||
image: docker/compose:1.29.2
|
image: docker/compose:1.29.2
|
||||||
commands:
|
commands:
|
||||||
- cp .env.example .env
|
- cp .env.example .env
|
||||||
- docker-compose config
|
- docker-compose config
|
||||||
|
- name: deploy
|
||||||
|
image: appleboy/drone-ssh:linux-amd64
|
||||||
|
settings:
|
||||||
|
host: 10.10.14.176
|
||||||
|
port: 22
|
||||||
|
username: root
|
||||||
|
password: dsidel123!
|
||||||
|
script:
|
||||||
|
- echo "test for deploy by ssh"
|
||||||
|
Loading…
Reference in new issue