Update .gitea/workflows/astro-deploy.yaml
All checks were successful
/ Build (push) Successful in 30s

This commit is contained in:
log101 2024-05-17 09:02:55 +00:00
parent 0acdf250c8
commit c8228478ca

View File

@ -62,23 +62,12 @@ jobs:
date -u
POST_SCRIPT: "echo done at: && date -u"
- name: Send mail
uses: dawidd6/action-send-mail@v3
uses: appleboy/ssh-action@v1.0.3
with:
# Required mail server address if not connection_url:
server_address: log101.dev
# Server port, default 25:
server_port: 25
# 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}}
# 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
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
script: |
echo -e "Subject: Act Runner Report\n\nJob has finished with status ${{ job.status }}" | sendmail ffrknerdm@gmail.com