Commit 9f589f35 authored by Wen Wei Li's avatar Wen Wei Li

add depends_on

parent 29b320b0
Pipeline #4693 failed with stage
......@@ -24,16 +24,17 @@ name: deploy
steps:
- name: ssh_to_deploy
image: ghcr.io/appleboy/drone-ssh
hosts:
- 192.168.0.22
username:
from_secret: ssh_username
password:
from_secret: ssh_password
port: 22
command_timeout: 30s
script:
- cd /root/drone/
- git clone ${DRONE_REPO_LINK}
- cd /root/xAppSec/
- echo ${DRONE_REPO_NAME}
settings:
host:
- 192.168.0.22
username:
from_secret: ssh_username
password:
from_secret: ssh_password
port: 22
command_timeout: 30s
script:
- cd /root/drone/
- echo ${DRONE_REPO_NAME}
depends_on:
- default
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment