Files
PluralFlux-infra/.gitea/workflows/sync-from-mirror.yaml
Laika 7d438b1492
All checks were successful
nodeJS remote worker / build (push) Successful in 43s
Update .gitea/workflows/sync-from-mirror.yaml
2026-02-28 17:50:17 +11:00

23 lines
655 B
YAML

name: Auto-Sync from Mirror
on:
push:
repository: "Pluralflux/Pluralflux"
branches: [main,develop]
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout Fork
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITEA_TOKEN }}
- name: Pull from Mirror
run: |
git remote add upstream https://engineering.sanya.gay/PluralFlux/PluralFlux.git
git fetch upstream --prune
git push origin "refs/remotes/upstream/*:refs/heads/*" --force-with-lease
git merge upstream/main -m "Syncing from github"
git push origin main