Update .github/workflows/fetch-upstream-mods.yml
This commit is contained in:
8
.github/workflows/fetch-upstream-mods.yml
vendored
8
.github/workflows/fetch-upstream-mods.yml
vendored
@@ -38,18 +38,16 @@ jobs:
|
|||||||
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
|
||||||
git remote -v
|
git remote -v
|
||||||
|
|
||||||
- name: disable lfs lock verification
|
- name: Disable LFS lock verification
|
||||||
run: |
|
run: |
|
||||||
git config lfs.locksverify false
|
git config lfs.locksverify false
|
||||||
|
|
||||||
- name: commit changes
|
- name: Commit and push changes
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name 'jim[bot]'
|
git config --global user.name 'jim[bot]'
|
||||||
git config --global user.email 'jim[bot]@users.noreply.github.com'
|
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`)"
|
if git commit -m "fetch upstream mod changes ($(date --utc +%Y%m%d_%H%M%SZ))"; then
|
||||||
then
|
|
||||||
git push origin main
|
git push origin main
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user