diff --git a/.github/workflows/fetch-upstream-mods.yml b/.github/workflows/fetch-upstream-mods.yml index 206f4f6f..58872056 100644 --- a/.github/workflows/fetch-upstream-mods.yml +++ b/.github/workflows/fetch-upstream-mods.yml @@ -2,16 +2,17 @@ name: fetch upstream mod changes on: schedule: - - cron: '13,43 * * * *' + - cron: "13,43 * * * *" workflow_dispatch: jobs: replace-mods: runs-on: ubuntu-latest + steps: - - name: Clone Gitea repo via SSH + - name: Clone Gitea repo run: | - rm -rf /tmp/upstream + rm -rf repo /tmp/upstream git clone ssh://git@smallgit.dasguney.com:2222/skyline/balatro-mod-index.git repo - name: Clone upstream GitHub repo @@ -38,29 +39,28 @@ jobs: run: | cd repo - git config user.name 'jim[bot]' - git config user.email 'jim[bot]@users.noreply.github.com' + git config user.name "jim[bot]" + git config user.email "jim[bot]@users.noreply.github.com" - # Provide HTTP Basic auth to libcurl (works for git + git-lfs), token as PASSWORD + # Provide HTTP auth for both git and git-lfs cat > ~/.netrc <