From 43c6bc9f22cd22771706fbab7143b3ddd9d942d1 Mon Sep 17 00:00:00 2001 From: moonlightwatch Date: Fri, 13 Jun 2025 22:44:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/build=5Fa?= =?UTF-8?q?nd=5Fupload.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build_and_upload.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build_and_upload.yaml b/.gitea/workflows/build_and_upload.yaml index 4ffe027..34c7ecf 100644 --- a/.gitea/workflows/build_and_upload.yaml +++ b/.gitea/workflows/build_and_upload.yaml @@ -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 }}." \ No newline at end of file