From 870e37cb19a7f3ba256bee3096bdee1e051596ad Mon Sep 17 00:00:00 2001 From: Lei OT Date: Tue, 29 Aug 2023 15:49:17 +0800 Subject: [PATCH] conf: action notify [test] --- .github/workflows/Deploy.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/Deploy.yml b/.github/workflows/Deploy.yml index 5a227765..7ffa1dde 100644 --- a/.github/workflows/Deploy.yml +++ b/.github/workflows/Deploy.yml @@ -128,6 +128,18 @@ jobs: echo " - ${{ env.GIT_COMMIT_MESSAGE_SUBJECT_SANITIZED }}" echo " - ${{ env.GIT_COMMIT_MESSAGE_BODY }}" + - name: ✉ Send some mail + uses: wadeww/send-email-action@master + with: + server_address: smtp.qiye.aliyun.com + port: 25 + username: ${{secrets.MAIL_USERNAME}} + password: ${{secrets.MAIL_PASSWORD}} + subject: Deploy ${{env.WORKFLOW_CONCLUSION}} + body: ${{env.WORKFLOW_CONCLUSION}} , ${{env.GIT_COMMIT_MESSAGE_SUBJECT}} + to: ${{ env.GIT_COMMIT_COMMITTER_EMAIL }}, lyt@hainatravel.com + from: Git + # # run other action with the workflow conclusion # - uses: 8398a7/action-slack@v3 # with: