Update .gitea/workflows/astro-deploy.yaml
All checks were successful
/ Build (push) Successful in 30s
All checks were successful
/ Build (push) Successful in 30s
This commit is contained in:
parent
0acdf250c8
commit
c8228478ca
|
@ -62,23 +62,12 @@ jobs:
|
||||||
date -u
|
date -u
|
||||||
POST_SCRIPT: "echo done at: && date -u"
|
POST_SCRIPT: "echo done at: && date -u"
|
||||||
- name: Send mail
|
- name: Send mail
|
||||||
uses: dawidd6/action-send-mail@v3
|
uses: appleboy/ssh-action@v1.0.3
|
||||||
with:
|
with:
|
||||||
# Required mail server address if not connection_url:
|
host: ${{ secrets.HOST }}
|
||||||
server_address: log101.dev
|
username: ${{ secrets.USERNAME }}
|
||||||
# Server port, default 25:
|
key: ${{ secrets.KEY }}
|
||||||
server_port: 25
|
port: ${{ secrets.PORT }}
|
||||||
# Optional whether this connection use TLS (default is true if server_port is 465)
|
script: |
|
||||||
secure: true
|
echo -e "Subject: Act Runner Report\n\nJob has finished with status ${{ job.status }}" | sendmail ffrknerdm@gmail.com
|
||||||
# Optional (recommended) mail server username:
|
|
||||||
username: ${{secrets.MAIL_USERNAME}}
|
|
||||||
# Optional (recommended) mail server password:
|
|
||||||
password: ${{secrets.MAIL_PASSWORD}}
|
|
||||||
# Required mail subject:
|
|
||||||
subject: Gitea Actions job result
|
|
||||||
# Required recipients' addresses:
|
|
||||||
to: ffrknerdm@gmail.com
|
|
||||||
# Required sender full name (address can be skipped):
|
|
||||||
from: log101@log101.dev # <user@example.com>
|
|
||||||
ignore_cert: true
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user