Merge remote-tracking branch 'main/main'
Some checks failed
Mirror to Gitea / git-sync (push) Has been cancelled
Some checks failed
Mirror to Gitea / git-sync (push) Has been cancelled
This commit is contained in:
20
.github/workflows/mirror.yml
vendored
Normal file
20
.github/workflows/mirror.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
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 для доступа к исходному коду
|
||||||
|
source_repo: "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/Egorbasalyga/VisionAsist.git"
|
||||||
|
source_branch: "main"
|
||||||
|
|
||||||
|
# Ссылка на Gitea остается без изменений
|
||||||
|
destination_repo: "https://${{ secrets.GITEA_USER }}:${{ secrets.GITEA_TOKEN }}@git.vision-software.ru/Egor/Vision.git"
|
||||||
|
destination_branch: "main"
|
||||||
Reference in New Issue
Block a user