conf: action notify [test]

hotfix/paypal-note
Lei OT 2 years ago
parent d7841fc9c8
commit 03bc01db06

@ -128,32 +128,50 @@ jobs:
echo " - ${{ env.GIT_COMMIT_MESSAGE_SUBJECT_SANITIZED }}" echo " - ${{ env.GIT_COMMIT_MESSAGE_SUBJECT_SANITIZED }}"
echo " - ${{ env.GIT_COMMIT_MESSAGE_BODY }}" echo " - ${{ env.GIT_COMMIT_MESSAGE_BODY }}"
- name: Send email - name: Send some mail
uses: devellany/send-mail@v1.0.2 uses: dawidd6/action-send-mail@v3
with: with:
host: smtp.qiye.aliyun.com # Specify connection via URL (replaces server_address, server_port, secure,
# Optional port (defaults to 465) # username and password)
port: 465 #
account: ${{secrets.MAIL_USERNAME}} # Format:
#
# * smtp://user:password@server:port
# * smtp+starttls://user:password@server:port
# connection_url: ${{secrets.MAIL_CONNECTION}}
# Required mail server address if not connection_url:
server_address: smtp.qiye.aliyun.com
# Server port, default 25:
server_port: 465
# Optional whether this connection use TLS (default is true if server_port is 465)
secure: true
# Optional (recommended) mail server username:
username: ${{secrets.MAIL_USERNAME}}
# Optional (recommended) mail server password:
password: ${{secrets.MAIL_PASSWORD}} password: ${{secrets.MAIL_PASSWORD}}
sender: Git # Required mail subject:
from: ${{secrets.MAIL_USERNAME}}
to: ${{ env.GIT_COMMIT_COMMITTER_EMAIL }}, lyt@hainatravel.com
subject: Deploy ${{env.WORKFLOW_CONCLUSION}} subject: Deploy ${{env.WORKFLOW_CONCLUSION}}
body: ${{env.WORKFLOW_CONCLUSION}} , ${{env.GIT_COMMIT_MESSAGE_SUBJECT}} # Required recipients' addresses:
# Optional content type (defaults to text/plain) to: ${{ env.GIT_COMMIT_COMMITTER_EMAIL }}
contentType: text/plain # Required sender full name (address can be skipped):
# Optional attachment files (JSON type. require property 'path') from: Git # <user@example.com>
# attachments: '[{"path":"README.md"}]' # Optional plain body:
body: Deploy job of ${{github.repository}} completed ${{env.WORKFLOW_CONCLUSION}}!
# - name: ✉ Send some mail # Optional HTML body read from file:
# uses: wadeww/send-email-action@master # html_body: file://README.html
# with: # Optional carbon copy recipients:
# server_address: smtp.qiye.aliyun.com cc: lyt@hainatravel.com
# port: 25 # Optional blind carbon copy recipients:
# username: ${{secrets.MAIL_USERNAME}} # bcc: r2d2@example.com,hansolo@example.com
# password: ${{secrets.MAIL_PASSWORD}} # Optional recipient of the email response:
# subject: Deploy ${{env.WORKFLOW_CONCLUSION}} # reply_to: luke@example.com
# body: ${{env.WORKFLOW_CONCLUSION}} , ${{env.GIT_COMMIT_MESSAGE_SUBJECT}} # Optional Message ID this message is replying to:
# to: ${{ env.GIT_COMMIT_COMMITTER_EMAIL }}, lyt@hainatravel.com # in_reply_to: <random-luke@example.com>
# from: Git # Optional unsigned/invalid certificates allowance:
ignore_cert: true
# Optional converting Markdown to HTML (set content_type to text/html too):
convert_markdown: true
# Optional attachments:
# attachments: attachments.zip,git.diff,./dist/static/*.js
# Optional priority: 'high', 'normal' (default) or 'low'
priority: low

Loading…
Cancel
Save