From a27dcb061514a4700852536cbc58e3dbfc9ea6f1 Mon Sep 17 00:00:00 2001 From: josedario87 Date: Mon, 26 May 2025 11:46:48 -0600 Subject: [PATCH] agregado workflow de comunicacion con github --- .gitea/workflows/sync-to-github.yml | 18 ++++++++++++++++++ .gitignore | 1 + 2 files changed, 19 insertions(+) create mode 100644 .gitea/workflows/sync-to-github.yml diff --git a/.gitea/workflows/sync-to-github.yml b/.gitea/workflows/sync-to-github.yml new file mode 100644 index 0000000..be27750 --- /dev/null +++ b/.gitea/workflows/sync-to-github.yml @@ -0,0 +1,18 @@ +name: Sync to GitHub + +on: + push: + branches: [main] + +jobs: + sync: + runs-on: ubuntu-latest + 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/planillla.git + + - name: Subi diff --git a/.gitignore b/.gitignore index 37d7e73..10b789a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules .env +.github \ No newline at end of file