Update '.trustie-pipeline.yml'

ch1
rcore_test 3 years ago
parent f6054b7a1c
commit 1e68847ec5

@ -1 +1,33 @@
#pipeline
kind: pipeline
type: docker
name: test
platform:
os: linux
arch: amd64
steps:
- name: rcore
image: jmgcs65536/rcore:latest
commands:
# 需要将软件包与部署脚本提前上传到远程主机(见文件上传模板)
# host、username、password可在参数管理中配置
- name: 远程主机部署
image: jmgcs65536/rcore:latest
settings:
host:
from_secret: ip
username:
from_secret: name
password:
from_secret: pwd
port: 22
script:
- chmod +x /home/deploy.sh
- ./home/deploy.sh
trigger:
branch:
- ch1
event:
- push

Loading…
Cancel
Save