irc-netcore-api/irc_api.drone.yml

40 lines
782 B
YAML

kind: pipeline
type: ssh
name: ssh-linux-test-hir-publish
platform:
os: linux
arch: amd64
clone:
disable: true
server:
host: 106.14.89.110
user: root
password:
from_secret: test_ssh_pwd
steps:
- name: publish-test-hir
commands:
- bash /opt/1panel/xc-deploy-new/Test_HIR/devops-publish/test-branch-to-test.sh
- name: notify-wecom
commands:
- bash /opt/1panel/xc-deploy-new/devops-center/notify-wecom.sh \
"$DRONE_BUILD_STATUS" \
"$DRONE_REPO_NAME" \
"$DRONE_BRANCH" \
"$DRONE_BUILD_NUMBER" \
"cdd97aab-d256-4f07-9145-a0a2b1555322" \
"$DRONE_COMMIT_MESSAGE" \
"$DRONE_COMMIT_AUTHOR"
when:
status:
- success
- failure
trigger:
branch:
- Test_HIR_Net8