From 7c851565b112b92acd2a11c02d8c1c8e2675e1a6 Mon Sep 17 00:00:00 2001 From: MOOn Date: Thu, 11 May 2023 18:51:17 +0800 Subject: [PATCH] Refine Action for Clash --- .gitea/workflows/clash.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/clash.yaml b/.gitea/workflows/clash.yaml index 4e939ba..ba4e031 100644 --- a/.gitea/workflows/clash.yaml +++ b/.gitea/workflows/clash.yaml @@ -30,8 +30,10 @@ jobs: - name: Git push run: | + git init git config --local user.name "gitea-actions[bot]" git config --local user.email "gitea-actions[bot]@moon.re" git add Clash git commit -m "${{ env.RELEASE_NAME }}" - git push origin automation:main + git remote add origin "https://MOOn:${{ secrets.GT_TOKEN }}@git.moon.re/MOOn/Profiles.git" + git push origin master:main