test
continuous-integration/drone/push Build is failing Details

master
wanggang 4 years ago
parent 5e9fa0d842
commit 69e5af8d20

@ -14,6 +14,16 @@ steps:
- ls -a
- docker-compose config
- name: deploy
image: appleboy/drone-scp:linux-amd64
settings:
host: 10.10.14.176
port: 22
username: root
password:
from_secret: ssh_password
target: ~/publish/cicd
srource: docker-compose.yml
- name: restart
image: appleboy/drone-ssh:linux-amd64
settings:
host: 10.10.14.176
@ -22,9 +32,8 @@ steps:
password:
from_secret: ssh_password
script:
- mv .env .env.example
- pwd
- ls /root
- cd ~/publish/cicd
- ./start.sh
# - apt -y install git
# - mkdir -p ~/publish/cicd && cd $_
# - git init

Loading…
Cancel
Save