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