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 ...@@ -24,16 +24,17 @@ name: deploy
steps: steps:
- name: ssh_to_deploy - name: ssh_to_deploy
image: ghcr.io/appleboy/drone-ssh image: ghcr.io/appleboy/drone-ssh
hosts: settings:
- 192.168.0.22 host:
username: - 192.168.0.22
from_secret: ssh_username username:
password: from_secret: ssh_username
from_secret: ssh_password password:
port: 22 from_secret: ssh_password
command_timeout: 30s port: 22
script: command_timeout: 30s
- cd /root/drone/ script:
- git clone ${DRONE_REPO_LINK} - cd /root/drone/
- cd /root/xAppSec/ - echo ${DRONE_REPO_NAME}
- 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