-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create GitHub Action: push-to-release-email (#56)
* Create GitHub-actions-push-demo.yml * Changes the demo script * Added more data to script * Added Gmail agent * fixed formatting issues * Change the agent email * Changes the filter * Fixed formatting errors
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Email notfication for upcoming release | ||
on: | ||
push: | ||
branches: | ||
- release | ||
jobs: | ||
send_email: | ||
runs-on: ubuntu-latest | ||
name: send_email | ||
steps: | ||
- name: Send email | ||
# You may pin to the exact commit or the version. | ||
# uses: dawidd6/action-send-mail@98b61f505d216dafd844f3bfca5b2972df822dab | ||
uses: dawidd6/[email protected] | ||
with: | ||
# Required mail server address: | ||
server_address: smtp.gmail.com | ||
# Required mail server port: | ||
server_port: 465 | ||
# Required mail server username: | ||
username: ${{secrets.MAIL_AGENT_USERNAME}} | ||
# Required mail server password: | ||
password: ${{secrets.MAIL_AGENT_PASSWORD}} | ||
# Required mail subject: | ||
subject: Litewallet iOS Release almost ready | ||
# Required recipients' addresses: | ||
to: [email protected] # [email protected], | ||
# Required sender full name (address can be skipped): | ||
from: <[email protected]> # <[email protected]> Litewallet iOS Github Repo | ||
# Optional whether this connection use TLS (default is true if server_port is 465) | ||
secure: true | ||
# Optional plain body: | ||
body: Build job of ${{github.repository}} completed successfully! | ||
# Optional HTML body read from file: | ||
html_body: file://README.html | ||
# Optional carbon copy recipients: | ||
cc: [email protected] | ||
# Optional recipient of the email response: | ||
reply_to: [email protected] | ||
# Optional unsigned/invalid certificates allowance: | ||
ignore_cert: true | ||
# Optional converting Markdown to HTML (set content_type to text/html too): | ||
convert_markdown: true |