Files
planilla/.gitea/workflows/sync-to-github.yml
josedario87 096a40959d
Some checks failed
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 4s
build-and-deploy / build (push) Successful in 6s
build-and-deploy / deploy (push) Successful in 15s
subir agresivo a github
2025-05-29 18:50:04 -06:00

25 lines
588 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: Agregar remoto de GitHub
run: |
git remote add github https://josedario87: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@github.com/josedario87/planilla.git
- name: Forzar subida a GitHub (sobrescribe lo que haya)
run: |
git fetch github
git push github +main