diff --git a/.github/workflows/fetch-upstream-mods.yml b/.github/workflows/fetch-upstream-mods.yml index 8667d50b..b6bc2183 100644 --- a/.github/workflows/fetch-upstream-mods.yml +++ b/.github/workflows/fetch-upstream-mods.yml @@ -38,11 +38,14 @@ jobs: git config user.name 'jim[bot]' git config user.email 'jim[bot]@users.noreply.github.com' - git config core.sshCommand "ssh -p 2222" git config lfs.locksverify false - git remote set-url origin git@smallgit.dasguney.com:skyline/balatro-mod-index.git + + git remote set-url origin \ + https://skyline:${GITEA_TOKEN}@smallgit.dasguney.com/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 \ No newline at end of file + fi + env: + GITEA_TOKEN: ${{ secrets.GT_TOKEN }} \ No newline at end of file