提交 drone 文件 9
continuous-integration/drone/push Build is failing Details

This commit is contained in:
BryantHe 2022-06-14 19:45:35 +08:00
parent 9c4802225a
commit 27e01439cf
1 changed files with 8 additions and 11 deletions

View File

@ -22,14 +22,11 @@ steps:
- name: deploy - name: deploy
image: appleboy/drone-ssh image: appleboy/drone-ssh
settings: settings:
host: 118.25.83.116 host: 118.25.83.116
username: root username: root
# secrets 的 ssh-key 是固定用法 key:
# 这个参数是在 drone 中对应仓库的 secrets 选项中添加的,名字必须是 ssh_key from_secret: ssh_key
key: port: 22
from_secret: ssh_key script_stop: true
port: 22 script:
# stoping script after first failure - echo "yulong test" > /tmp/yulong_test.drone
script_stop: true
script:
- echo "yulong test" > /tmp/yulong_test.drone