编程语言/Drone/scp:修订间差异
来自康健生活
创建页面,内容为“== 标题文本 == <syntaxhighlight lang="javascript"> kind: pipeline type: docker name: default steps: - name: scp image: appleboy/drone-scp pull: always settings: debug: true source: - dist/ host: from_secret: DRONE_HOST username: from_secret: DRONE_NAME port: from_secret: DRONE_PORT password: from_secret: DRONE_PSW target: from_secret: DRONE_DICT when: branch: include…” |
|||
| 第1行: | 第1行: | ||
== 标题文本 == | == 标题文本 == | ||
<syntaxhighlight lang=" | <syntaxhighlight lang="yaml"> | ||
kind: pipeline | kind: pipeline | ||
type: docker | type: docker | ||
2026年2月14日 (六) 17:49的版本
标题文本
kind: pipeline
type: docker
name: default
steps:
- name: scp
image: appleboy/drone-scp
pull: always
settings:
debug: true
source:
- dist/
host:
from_secret: DRONE_HOST
username:
from_secret: DRONE_NAME
port:
from_secret: DRONE_PORT
password:
from_secret: DRONE_PSW
target:
from_secret: DRONE_DICT
when:
branch:
include:
- master
event:
- push
- merge
No categories