From 9fddbfe53d926c318150f57e75f4e4538bfa9d01 Mon Sep 17 00:00:00 2001 From: skyline Date: Wed, 24 Dec 2025 03:36:14 +0000 Subject: [PATCH] Update .github/workflows/fetch-upstream-mods.yml --- .github/workflows/fetch-upstream-mods.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/fetch-upstream-mods.yml b/.github/workflows/fetch-upstream-mods.yml index b1d4bb2e..0b073262 100644 --- a/.github/workflows/fetch-upstream-mods.yml +++ b/.github/workflows/fetch-upstream-mods.yml @@ -39,17 +39,12 @@ jobs: git config user.email 'jim[bot]@users.noreply.github.com' git config lfs.locksverify false - git config --global credential.helper store - - printf "http://skyline:%s@smallgit.dasguney.com:3000\n" "$GITEA_TOKEN" \ - > ~/.git-credentials - git remote set-url origin \ - http://smallgit.dasguney.com:3000/skyline/balatro-mod-index.git + http://${GITEA_TOKEN}@smallgit.dasguney.com:3000/skyline/balatro-mod-index.git git add mods if git commit -m "fetch upstream mod changes ($(date --utc +%Y%m%d_%H%M%SZ))"; then git push origin main fi env: - GITEA_TOKEN: ${{ secrets.GT_TOKEN }} \ No newline at end of file + GITEA_TOKEN: ${{ secrets.GT_TOKEN }}