更新 .gitea/workflows/build_and_upload.yaml
Some checks failed
Build and Upload / Explore-Gitea-Actions (push) Failing after 2m27s

This commit is contained in:
moonlightwatch 2025-06-13 22:44:55 +08:00
parent 29e42f6dc2
commit 43c6bc9f22

View File

@ -14,5 +14,5 @@ jobs:
- run: cd ${{ gitea.workspace }} && ./hugo build
- run: cd ${{ gitea.workspace }} && ssh -o StrictHostKeyChecking=no -i ./id_rsa root@123.60.145.249 "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@123.60.145.249:/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=${{ gitea.event.commits[0].message }} ${{ job.status }}"
- run: curl "http://api.chuckfang.com/642ae6dd/博客生成/${{ gitea.event.commits[0].message }}-${{ job.status }}?url=https://blog.轻聆月下.com"
- run: echo "🍏 This job's status is ${{ job.status }}."