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