From 5c7b7665892c198783af77336f8803b1eea18fee Mon Sep 17 00:00:00 2001 From: skyline Date: Wed, 24 Dec 2025 03:29:26 +0000 Subject: [PATCH] use token --- .github/workflows/fetch-upstream-mods.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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