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