Files
Vision/.github/workflows/mirror.yml
2026-03-26 23:39:28 +02:00

21 lines
642 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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:
# Замените ВАШ_GITHUB_ЛОГИН на ваш никнейм в GitHub
source_repo: "Egorbasalyga/VisionAsist"
source_branch: "main"
# Ссылка на Gitea сформирована правильно для доступа через Git
destination_repo: "https://${{ secrets.GITEA_USER }}:${{ secrets.GITEA_TOKEN }}@git.vision-software.ru/Egor/Vision.git"
destination_branch: "main"