Compare commits
4 Commits
78e2483e7f
...
9088810aaa
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9088810aaa | ||
|
|
03c323a1a4 | ||
|
|
a300b7033a | ||
|
|
a0833865c8 |
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