Files
planilla/.gitea/workflows/sync-to-github.yml
josedario87 b6d7759b30
Some checks failed
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 2s
build-and-deploy / build (push) Failing after 27s
build-and-deploy / deploy (push) Has been skipped
sincronizar cambios
2025-05-30 02:13:01 -06:00

24 lines
557 B
YAML

name: Sync to GitHub
on:
push:
branches: [main]
jobs:
sync:
runs-on: docker
env:
GITHUB_ACTOR: josedario87
GITHUB_TOKEN: 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
steps:
- name: Clonar el repo
uses: actions/checkout@v3
- name: Forzar limpieza y retry
run: |
git remote remove github
git remote add github https://josedario87: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@github.com/josedario87/planilla.git
git fetch github
git push github +HEAD:main --force