|
|
|
@ -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 # <user@example.com>
|
|
|
|
|
# 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:
|
|
|
|
|