Update .gitea/workflows/sync-from-mirror.yaml
All checks were successful
nodeJS remote worker / build (push) Successful in 59s

This commit is contained in:
2026-03-05 16:44:02 +11:00
parent 9764e764e9
commit 79fc63d23b

View File

@@ -2,7 +2,7 @@ name: Auto-Sync from Mirror
on: on:
push: push:
repository: "Pluralflux/Pluralflux" repository: "Pluralflux/Pluralflux"
branches: [main,develop] branches: ["*"]
workflow_dispatch: workflow_dispatch:
@@ -20,7 +20,7 @@ jobs:
run: | run: |
git remote add upstream https://engineering.sanya.gay/PluralFlux/PluralFlux.git git remote add upstream https://engineering.sanya.gay/PluralFlux/PluralFlux.git
git fetch upstream --prune git fetch upstream --prune
git reset --hard origin/main
git push origin "refs/remotes/upstream/*:refs/heads/*" --force-with-lease git push origin "refs/remotes/upstream/*:refs/heads/*" --force-with-lease
git merge upstream/main -m "Syncing from github" git merge upstream/main -m "Syncing from github"
git push origin main git push origin main