diff --git a/irc_vue_drone.yml b/irc_vue_drone.yml index 851ea4a..2c2d40c 100644 --- a/irc_vue_drone.yml +++ b/irc_vue_drone.yml @@ -16,11 +16,17 @@ server: from_secret: local_pwd steps: -- name: publish-test-hir-vue - commands: - - echo start publish test-hir-vue - - cd /opt/1panel/hang/vue/test-hir - - sh test-hir.sh v${DRONE_BUILD_NUMBER} + - name: publish-test-hir-web + commands: + - bash /opt/1panel/xc-deploy-new/devops-center/build-vue-then-publish.sh HIR_Web main + - name: notify-wecom + commands: + - 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_HIR_WEB" "hir.test.extimaging.com" + when: + status: + - success + - failure trigger: branch: