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: |
|
||||
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: |
|
||||
git config user.name "gitea-bot"
|
||||
git config user.email "bot@smallgit.dasguney.com"
|
||||
git config lfs.locksverify false
|
||||
|
||||
- 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
|
||||
if git commit -m "fetch upstream mod changes ($(date --utc +%Y%m%d_%H%M%SZ))"; then
|
||||
git push
|
||||
if git commit -m "fetch upstream mod changes (`date --utc +%Y%m%d_%H%M%SZ`)"
|
||||
then
|
||||
git push origin main
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user