add build message
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m57s

This commit is contained in:
moonlightwatch 2025-03-26 18:21:40 +08:00
parent 3b78eb5b81
commit 8373b7fa30

View File

@ -14,4 +14,5 @@ jobs:
- run: cd ${{ gitea.workspace }} && ./hugo build
- run: cd ${{ gitea.workspace }} && ssh -o StrictHostKeyChecking=no -i ./id_rsa root@116.204.65.205 "rm -rf /opt/1panel/apps/openresty/openresty/www/sites/blog.xn--ghqz22d40r52n.com/index/*"
- run: cd ${{ gitea.workspace }} && scp -o StrictHostKeyChecking=no -r -i ./id_rsa ./public/* root@116.204.65.205:/opt/1panel/apps/openresty/openresty/www/sites/blog.xn--ghqz22d40r52n.com/index/
- run: curl "https://www.xn--ghqz22d40r52n.net/gotify/message?token=Ah76AVlCxRm10gb" -F "title=博客生成" -F "message=${{ job.status }}"
- run: echo "🍏 This job's status is ${{ job.status }}."