编程语言/Drone/执行部署

来自康健生活
Kangkk​(留言 | 贡献)2026年2月14日 (六) 15:58的版本 (创建页面,内容为“== 标题文本 == <syntaxhighlight lang="yaml"> - name: link-to-ssh pull: if-not-exists image: appleboy/drone-ssh settings: PASSWORD: from_secret: PASSWORD host: xx.xx.xx.xx username: root password: PASSWORD port: 22 script: - echo hello world</syntaxhighlight>”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

标题文本

- name: link-to-ssh
    pull: if-not-exists
    image: appleboy/drone-ssh
    settings:
      PASSWORD:
        from_secret: PASSWORD
      host: xx.xx.xx.xx
      username: root
      password: PASSWORD
      port: 22
      script:
        - echo hello world