Update .github/workflows/fetch-upstream-mods.yml
This commit is contained in:
15
.github/workflows/fetch-upstream-mods.yml
vendored
15
.github/workflows/fetch-upstream-mods.yml
vendored
@@ -36,13 +36,18 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git remote set-url origin ssh://git@smallgit.dasguney.com:2222/skyline/balatro-mod-index.git
|
git remote set-url origin ssh://git@smallgit.dasguney.com:2222/skyline/balatro-mod-index.git
|
||||||
|
|
||||||
- name: Commit and push
|
- name: disable lfs lock verification
|
||||||
run: |
|
run: |
|
||||||
git config user.name "gitea-bot"
|
git config lfs.locksverify false
|
||||||
git config user.email "bot@smallgit.dasguney.com"
|
|
||||||
|
- name: commit changes
|
||||||
|
run: |
|
||||||
|
git config --global user.name 'jim[bot]'
|
||||||
|
git config --global user.email 'jim[bot]@users.noreply.github.com'
|
||||||
|
|
||||||
git add mods
|
git add mods
|
||||||
if git commit -m "fetch upstream mod changes ($(date --utc +%Y%m%d_%H%M%SZ))"; then
|
if git commit -m "fetch upstream mod changes (`date --utc +%Y%m%d_%H%M%SZ`)"
|
||||||
git push
|
then
|
||||||
|
git push origin main
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user