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: