From f2d1ae2700d77acb7ee8800a6fbd7bc3d6edeb1f Mon Sep 17 00:00:00 2001 From: moonlightwatch Date: Fri, 13 Jun 2025 23:05:15 +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 3fd5c0b..41ccf99 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://api.chuckfang.com/642ae6dd/BlogBuild/" -H "Content-Type: application/json" -d '{"title":"博客生成", "msg":"${{ gitea.event.commits[0].message }} ${{ job.status }}", "url":"https://blog.xn--ghqz22d40r52n.com"}' + - run: curl "https://api.chuckfang.com/642ae6dd/博客生成" -H "Content-Type: text/plain" -d "${{ gitea.event.commits[0].message }} ${{ job.status }}" - run: echo "🍏 This job's status is ${{ job.status }}." \ No newline at end of file