Sync workflow Update 2
Some checks failed
Build and Release / Build Linux (push) Has been skipped
Sync to GitHub / sync (push) Failing after 37s
Build and Release / Build Windows (push) Has been cancelled
Build and Release / Build macOS (push) Has been cancelled
Build and Release / Create Release (push) Has been cancelled
Build and Release / Development Build (push) Has been cancelled
Some checks failed
Build and Release / Build Linux (push) Has been skipped
Sync to GitHub / sync (push) Failing after 37s
Build and Release / Build Windows (push) Has been cancelled
Build and Release / Build macOS (push) Has been cancelled
Build and Release / Create Release (push) Has been cancelled
Build and Release / Development Build (push) Has been cancelled
This commit is contained in:
@@ -26,8 +26,10 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||
GITHUB_REPO: ${{ secrets.GH_REPO }}
|
||||
run: |
|
||||
git remote add github https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPO}.git || true
|
||||
git remote set-url github https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPO}.git
|
||||
git config --global user.name "Gitea Actions"
|
||||
git config --global user.email "actions@gitea.local"
|
||||
git remote remove github 2>/dev/null || true
|
||||
git remote add github https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPO}.git
|
||||
git push github --all --force
|
||||
git push github --tags --force
|
||||
|
||||
|
||||
Reference in New Issue
Block a user