diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index ec7a825..d33c712 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -15,6 +15,18 @@ jobs: contents: write steps: + - name: Send mail + uses: https://github.com/dawidd6/action-send-mail@v3 + with: + server_address: smtp.qq.com + server_port: 465 + secure: true + username: "${{ secrets.QQ_SMTP_USERNAME }}" + password: "${{ secrets.QQ_SMTP_TOKEN }}" + subject: 博客部署启动 + to: 3145078758@qq.com + from: Gitea Actions + body: 博客自动化部署开始执行, 前往 ${{ gitea.server_url }}/${{ gitea.repostiory }}/actions/runs/${{ gitea.run_id }} 查看执行日志 - name: Checkout uses: actions/checkout@v4 - name: Setup Node.js