From b01c455a9e1327fe6e02da10b55088aa32d8f4e3 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Tue, 29 Aug 2023 16:20:00 +0800 Subject: [PATCH] conf: action notify [prod] --- .github/workflows/Deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/Deploy.yml b/.github/workflows/Deploy.yml index 1c8718da..f03410e6 100644 --- a/.github/workflows/Deploy.yml +++ b/.github/workflows/Deploy.yml @@ -22,7 +22,7 @@ jobs: port: ${{ secrets.US_FTP_PORT }} local-dir: ./ server-dir: /information-system/ - dry-run: true + # dry-run: true exclude: | **/.git* **/.git*/** @@ -77,7 +77,7 @@ jobs: port: ${{ secrets.CN_FTP_PORT }} local-dir: ./ server-dir: /wwwroot/origin-cht.mycht.cn/ - dry-run: true + # dry-run: true # log-level: verbose exclude: | **/.git* @@ -150,13 +150,13 @@ jobs: # Optional (recommended) mail server password: password: ${{secrets.MAIL_PASSWORD}} # Required mail subject: - subject: Deploy ${{env.WORKFLOW_CONCLUSION}} + subject: ${{github.repository}} ${{env.WORKFLOW_CONCLUSION}} # Required recipients' addresses: to: ${{ env.GIT_COMMIT_COMMITTER_EMAIL }} # Required sender full name (address can be skipped): from: Git # # Optional plain body: - body: Deploy job of ${{github.repository}} completed ${{env.WORKFLOW_CONCLUSION}}! + body: '${{ env.GIT_COMMIT_SHORT_SHA }}: ${{ env.GIT_COMMIT_MESSAGE_SUBJECT }}' # Optional HTML body read from file: # html_body: file://README.html # Optional carbon copy recipients: