Update .github/workflows/fetch-upstream-mods.yml
This commit is contained in:
9
.github/workflows/fetch-upstream-mods.yml
vendored
9
.github/workflows/fetch-upstream-mods.yml
vendored
@@ -39,17 +39,12 @@ jobs:
|
|||||||
git config user.email 'jim[bot]@users.noreply.github.com'
|
git config user.email 'jim[bot]@users.noreply.github.com'
|
||||||
git config lfs.locksverify false
|
git config lfs.locksverify false
|
||||||
|
|
||||||
git config --global credential.helper store
|
|
||||||
|
|
||||||
printf "http://skyline:%s@smallgit.dasguney.com:3000\n" "$GITEA_TOKEN" \
|
|
||||||
> ~/.git-credentials
|
|
||||||
|
|
||||||
git remote set-url origin \
|
git remote set-url origin \
|
||||||
http://smallgit.dasguney.com:3000/skyline/balatro-mod-index.git
|
http://${GITEA_TOKEN}@smallgit.dasguney.com:3000/skyline/balatro-mod-index.git
|
||||||
|
|
||||||
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))"; then
|
||||||
git push origin main
|
git push origin main
|
||||||
fi
|
fi
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.GT_TOKEN }}
|
GITEA_TOKEN: ${{ secrets.GT_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user