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

add depends_on

parent 29b320b0
Pipeline #4693 failed with stage
...@@ -24,7 +24,8 @@ name: deploy ...@@ -24,7 +24,8 @@ 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:
host:
- 192.168.0.22 - 192.168.0.22
username: username:
from_secret: ssh_username from_secret: ssh_username
...@@ -34,6 +35,6 @@ steps: ...@@ -34,6 +35,6 @@ steps:
command_timeout: 30s command_timeout: 30s
script: script:
- cd /root/drone/ - cd /root/drone/
- git clone ${DRONE_REPO_LINK}
- 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