-
Notifications
You must be signed in to change notification settings - Fork 8
28 lines (25 loc) · 970 Bytes
/
repo-sync.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: GitLab Sync
on: push
jobs:
branch-sync:
name: Synchronise Branches
runs-on: ubuntu-latest
steps:
- name: repo-sync
uses: Frederick888/git-sync@master
with:
source_repo: "https://github.com/Frederick888/git-credential-keepassxc.git"
source_branch: "refs/remotes/source/*"
destination_repo: "https://Frederick888:${{ secrets.GITLAB_ACCESS_TOKEN }}@git.tsundere.moe/Frederick888/git-credential-keepassxc.git"
destination_branch: "refs/heads/*"
tag-sync:
name: Synchronise Tags
runs-on: ubuntu-latest
steps:
- name: repo-sync
uses: Frederick888/git-sync@master
with:
source_repo: "https://github.com/Frederick888/git-credential-keepassxc.git"
source_branch: "refs/tags/*"
destination_repo: "https://Frederick888:${{ secrets.GITLAB_ACCESS_TOKEN }}@git.tsundere.moe/Frederick888/git-credential-keepassxc.git"
destination_branch: "refs/tags/*"