feat: update deploy yaml
Some checks failed
Deploy Pages / Generate-Pages (push) Failing after 10s

This commit is contained in:
Maysion 2025-04-20 15:58:12 +08:00
parent e48e7b03c2
commit aeeb3b339b
Signed by untrusted user who does not match committer: Linloir
GPG Key ID: 3D6B9EC35C923C81

View File

@ -18,15 +18,15 @@ jobs:
- name: Send mail - name: Send mail
uses: https://github.com/dawidd6/action-send-mail@v3 uses: https://github.com/dawidd6/action-send-mail@v3
with: with:
server_address: smtp.qq.com server_address: smtp.exmail.qq.com
server_port: 465 server_port: 465
secure: true secure: true
username: "${{ secrets.QQ_SMTP_USERNAME }}" username: "${{ secrets.QQ_SMTP_USERNAME }}"
password: "${{ secrets.QQ_SMTP_TOKEN }}" password: "${{ secrets.QQ_SMTP_TOKEN }}"
subject: 博客部署启动 subject: 博客部署启动
to: 3145078758@qq.com to: zhangmx67@mail2.sysu.edu.cn
from: Gitea Actions from: Gitea Actions
body: 博客自动化部署开始执行, 前往 ${{ gitea.server_url }}/Linloir/blog/actions/runs/${{ gitea.run_id }} 查看执行日志 body: 博客自动化部署开始执行, 前往 ${{ gitea.server_url }}/Maysion/blog/actions/runs/${{ gitea.run_id }} 查看执行日志
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup Node.js - name: Setup Node.js
@ -53,37 +53,37 @@ jobs:
uses: https://github.com/stefanzweifel/git-auto-commit-action@v5 uses: https://github.com/stefanzweifel/git-auto-commit-action@v5
with: with:
commit_message: "Auto deploy pages" commit_message: "Auto deploy pages"
commit_user_name: "Linloir" commit_user_name: "Maysion"
commit_user_email: "3145078758@qq.com" commit_user_email: "zhangmx67@mail2.sysu.edu.cn"
commit_author: "Linloir <3145078758@qq.com>" commit_author: "Maysion <zhangmx67@mail2.sysu.edu.cn>"
branch: publish branch: publish
commit_options: "--no-verify" commit_options: "--no-verify"
token: "${{ secrets.TOKEN }}" token: "${{ secrets.TOKEN }}"
- name: Call API to Update Caddy - name: Call API to Update Caddy
run: curl https://upd.linloir.cn/update/blog.linloir.gitea.linloir.cn run: curl https://upd.masyionz.cn/update/blog.maysionz.cn
- name: Send mail On Success - name: Send mail On Success
if: success() if: success()
uses: https://github.com/dawidd6/action-send-mail@v3 uses: https://github.com/dawidd6/action-send-mail@v3
with: with:
server_address: smtp.qq.com server_address: smtp.exmail.qq.com
server_port: 465 server_port: 465
secure: true secure: true
username: "${{ secrets.QQ_SMTP_USERNAME }}" username: "${{ secrets.QQ_SMTP_USERNAME }}"
password: "${{ secrets.QQ_SMTP_TOKEN }}" password: "${{ secrets.QQ_SMTP_TOKEN }}"
subject: 博客部署成功 subject: 博客部署成功
to: 3145078758@qq.com to: zhangmx67@mail2.sysu.edu.cn
from: Gitea Actions from: Gitea Actions
body: 博客自动化部署执行成功, 前往 https://blog.linloir.cn 查看 body: 博客自动化部署执行成功, 前往 https://blog.maysionz.cn 查看
- name: Send mail On Fail - name: Send mail On Fail
if: failure() if: failure()
uses: https://github.com/dawidd6/action-send-mail@v3 uses: https://github.com/dawidd6/action-send-mail@v3
with: with:
server_address: smtp.qq.com server_address: smtp.exmail.qq.com
server_port: 465 server_port: 465
secure: true secure: true
username: "${{ secrets.QQ_SMTP_USERNAME }}" username: "${{ secrets.QQ_SMTP_USERNAME }}"
password: "${{ secrets.QQ_SMTP_TOKEN }}" password: "${{ secrets.QQ_SMTP_TOKEN }}"
subject: 博客部署失败 subject: 博客部署失败
to: 3145078758@qq.com to: zhangmx67@mail2.sysu.edu.cn
from: Gitea Actions from: Gitea Actions
body: 博客自动化部署执行失败, 前往 ${{ gitea.server_url }}/Linloir/blog/actions/runs/${{ gitea.run_id }} 查看执行日志 body: 博客自动化部署执行失败, 前往 ${{ gitea.server_url }}/Maysion/blog/actions/runs/${{ gitea.run_id }} 查看执行日志