diff --git a/.github/workflows/fetch-upstream-mods.yml b/.github/workflows/fetch-upstream-mods.yml index 0b073262..206f4f6f 100644 --- a/.github/workflows/fetch-upstream-mods.yml +++ b/.github/workflows/fetch-upstream-mods.yml @@ -33,18 +33,34 @@ jobs: done - name: Commit and push + env: + GITEA_TOKEN: ${{ secrets.GT_TOKEN }} run: | 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://${GITEA_TOKEN}@smallgit.dasguney.com:3000/skyline/balatro-mod-index.git + # Provide HTTP Basic auth to libcurl (works for git + git-lfs), token as PASSWORD + cat > ~/.netrc <