diff --git a/irc_api.drone.yml b/irc_api.drone.yml index c38ee84c8..2c10ce47b 100644 --- a/irc_api.drone.yml +++ b/irc_api.drone.yml @@ -19,14 +19,13 @@ steps: - name: publish-test-hir commands: - bash /opt/1panel/xc-deploy-new/Test_HIR/devops-publish/test-branch-to-test.sh || echo "publish failed" - - 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" - when: - status: - - success - - failure + 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" + when: + status: + - success + - failure trigger: branch: