diff --git a/mirror.yml b/mirror.yml new file mode 100644 index 0000000..74c8656 --- /dev/null +++ b/mirror.yml @@ -0,0 +1,17 @@ +name: Mirror to Gitea + +on: + push: + delete: + +jobs: + git-sync: + runs-on: ubuntu-latest + steps: + - name: Sync to Gitea + uses: wei/git-sync@v3 + with: + source_repo: "ваш-логин/ваш-репозиторий-в-github" + source_branch: "main" + destination_repo: "https://${{ secrets.GITEA_USER }}:${{ secrets.GITEA_TOKEN }}@ваша-gitea.com/логин/репозиторий.git" + destination_branch: "main"