Rename mirror.yml to .github/workflows/mirror.yml

This commit is contained in:
Egor Basalyga
2026-03-26 23:36:43 +02:00
committed by GitHub
parent a0833865c8
commit a300b7033a

17
.github/workflows/mirror.yml vendored Normal file
View File

@@ -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"