caiyiling 2026-03-13 13:20:27 +08:00
commit eee19f0ae9
1 changed files with 5 additions and 5 deletions

View File

@ -11,26 +11,26 @@ clone:
disable: true #禁用默认克隆 disable: true #禁用默认克隆
server: server:
host: 106.14.89.110 host: 101.132.253.119
user: root user: root
password: password:
from_secret: local_pwd from_secret: local_pwd
steps: steps:
- name: publish-test-irc-web - name: publish-uat-irc-web
commands: commands:
- bash /opt/1panel/xc-deploy-new/devops-center/build-vue-then-publish.sh IRC_Web main - bash /opt/1panel/xc-deploy-new/devops-center/build-vue-then-publish.sh IRC_Web uat --mode uat
- name: notify-wecom - name: notify-wecom
commands: commands:
- echo $DRONE_COMMIT_AUTHOR "$DRONE_COMMIT_MESSAGE" - echo $DRONE_COMMIT_AUTHOR "$DRONE_COMMIT_MESSAGE"
- bash /opt/1panel/xc-deploy-new/devops-center/drone-notify-wecom.sh "$DRONE_BUILD_STATUS" "$DRONE_REPO_NAME" "$DRONE_BRANCH" "$DRONE_BUILD_NUMBER" "4355b98e-1e72-4678-8dfb-2fc6ad0bf449" "$DRONE_COMMIT_MESSAGE" "$DRONE_COMMIT_AUTHOR" "Test_IRC_WEB" "irc.test.extimaging.com" - bash /opt/1panel/xc-deploy-new/devops-center/drone-notify-wecom.sh "$DRONE_BUILD_STATUS" "$DRONE_REPO_NAME" "$DRONE_BRANCH" "$DRONE_BUILD_NUMBER" "4355b98e-1e72-4678-8dfb-2fc6ad0bf449" "$DRONE_COMMIT_MESSAGE" "$DRONE_COMMIT_AUTHOR" "Uat_IRC_WEB" "irc.uat.extimaging.com"
when: when:
status: status:
- success - success
- failure - failure
trigger: trigger:
branch: branch:
- main - uat