diff --git a/.github/workflows/fetch-upstream-mods.yml b/.github/workflows/fetch-upstream-mods.yml index 379b428e..b1d4bb2e 100644 --- a/.github/workflows/fetch-upstream-mods.yml +++ b/.github/workflows/fetch-upstream-mods.yml @@ -37,10 +37,15 @@ jobs: cd repo git config user.name 'jim[bot]' git config user.email 'jim[bot]@users.noreply.github.com' - git config lfs.locksverify false - git remote set-url origin http://skyline:${GITEA_TOKEN}@smallgit.dasguney.com:3000/skyline/balatro-mod-index.git + 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 git add mods if git commit -m "fetch upstream mod changes ($(date --utc +%Y%m%d_%H%M%SZ))"; then