From 0b6519891766067536722844ff455c919a3ee758 Mon Sep 17 00:00:00 2001 From: adminroot Date: Thu, 11 Sep 2025 22:53:20 -0700 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/update-ru?= =?UTF-8?q?les.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/update-rules.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.gitea/workflows/update-rules.yml b/.gitea/workflows/update-rules.yml index 5501e98..41c8a81 100644 --- a/.gitea/workflows/update-rules.yml +++ b/.gitea/workflows/update-rules.yml @@ -52,12 +52,4 @@ jobs: git config --local user.name "GitHub Action" git add ruleset/ git diff --staged --quiet || git commit -m "Auto update clash rules - $(date +%Y-%m-%d)" - git push https://x-access-token:${{ secrets.WORKFLOW_TOKEN }}@${{ github.server_url }}/${{ github.repository }}.git HEAD:main - - # 方案2:上传为工件(如果需要保留原功能) - - name: 上传规则文件为工件 - uses: actions/upload-artifact@v4 - with: - name: clash-rules-${{ github.run_number }} - path: ruleset/ - retention-days: 30 \ No newline at end of file + git push https://x-access-token:${{ secrets.WORKFLOW_TOKEN }}@${{ github.server_url }}/${{ github.repository }}.git HEAD:main \ No newline at end of file