ci: remove email step from deploy script
All checks were successful
/ Build (push) Successful in 1m2s

This commit is contained in:
log101 2024-07-29 20:05:43 +03:00
parent 6ea4390223
commit d9cc6c2d30

View File

@ -53,7 +53,7 @@ jobs:
- name: Make envfile - name: Make envfile
uses: SpicyPizza/create-envfile@v2.0 uses: SpicyPizza/create-envfile@v2.0
with: with:
envkey_PUBLIC_BACKEND_HOST: ${{ vars.PUBLIC_BACKEND_HOST }} envkey_PUBLIC_BACKEND_HOST: ${{ vars.PUBLIC_BACKEND_URL }}
- name: Build with Astro - name: Build with Astro
run: | run: |
${{ steps.detect-package-manager.outputs.runner }} astro build ${{ steps.detect-package-manager.outputs.runner }} astro build
@ -77,18 +77,3 @@ jobs:
echo start at: echo start at:
date -u date -u
POST_SCRIPT: "echo done at: && date -u" POST_SCRIPT: "echo done at: && date -u"
- name: Send email notification
uses: dawidd6/action-send-mail@v3
if: ${{ always() }}
with:
server_address: mail.log101.dev
server_port: 465
secure: true
username: ${{secrets.MAIL_USERNAME}}
password: ${{secrets.MAIL_PASSWORD}}
subject: Github Actions job result
to: ffrknerdm@gmail.com
from: gitea@log101.dev
body:
Build job of ${{github.repository}} completed with status ${{
steps.deploy.outcome }}!