File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : GitLab Sync
2+
3+ on : push
4+
5+ jobs :
6+ branch-sync :
7+ name : Synchronise Branches
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : repo-sync
11+ uses : wei/git-sync@v2
12+ with :
13+ source_repo : " https://github.com/Frederick888/php-bencode.git"
14+ source_branch : " refs/remotes/source/*"
15+ destination_repo : " https://Frederick888:${{ secrets.GITLAB_ACCESS_TOKEN }}@git.tsundere.moe/Frederick888/php-bencode.git"
16+ destination_branch : " refs/heads/*"
17+
18+ tag-sync :
19+ name : Synchronise Tags
20+ runs-on : ubuntu-latest
21+ steps :
22+ - name : repo-sync
23+ uses : wei/git-sync@v2
24+ with :
25+ source_repo : " https://github.com/Frederick888/php-bencode.git"
26+ source_branch : " refs/tags/*"
27+ destination_repo : " https://Frederick888:${{ secrets.GITLAB_ACCESS_TOKEN }}@git.tsundere.moe/Frederick888/php-bencode.git"
28+ destination_branch : " refs/tags/*"
You can’t perform that action at this time.
0 commit comments