From a0833865c80e57dbf120e87787f652360b9aaa5d Mon Sep 17 00:00:00 2001 From: Egor Basalyga <82464635+Egorbasalyga@users.noreply.github.com> Date: Thu, 26 Mar 2026 23:30:47 +0200 Subject: [PATCH] Create mirror.yml --- mirror.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 mirror.yml 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"