use token
This commit is contained in:
9
.github/workflows/fetch-upstream-mods.yml
vendored
9
.github/workflows/fetch-upstream-mods.yml
vendored
@@ -38,11 +38,14 @@ jobs:
|
|||||||
git config user.name 'jim[bot]'
|
git config user.name 'jim[bot]'
|
||||||
git config user.email 'jim[bot]@users.noreply.github.com'
|
git config user.email 'jim[bot]@users.noreply.github.com'
|
||||||
|
|
||||||
git config core.sshCommand "ssh -p 2222"
|
|
||||||
git config lfs.locksverify false
|
git config lfs.locksverify false
|
||||||
git remote set-url origin git@smallgit.dasguney.com:skyline/balatro-mod-index.git
|
|
||||||
|
git remote set-url origin \
|
||||||
|
https://skyline:${GITEA_TOKEN}@smallgit.dasguney.com/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:
|
||||||
|
GITEA_TOKEN: ${{ secrets.GT_TOKEN }}
|
||||||
Reference in New Issue
Block a user