-
Notifications
You must be signed in to change notification settings - Fork 8
33 lines (31 loc) · 1.21 KB
/
ebrains.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
29
30
31
32
33
name: Mirror to EBRAINS
on:
push:
branches:
- master
- development
jobs:
to_ebrains:
runs-on: ubuntu-latest
steps:
- name: syncmaster
uses: wei/git-sync@v3
with:
source_repo: "HumanBrainProject/neural-activity-resource"
source_branch: "master"
destination_repo: "https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/data-services/neural-activity-resource.git"
destination_branch: "main"
- name: syncdev
uses: wei/git-sync@v3
with:
source_repo: "HumanBrainProject/neural-activity-resource"
source_branch: "development"
destination_repo: "https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/data-services/neural-activity-resource.git"
destination_branch: "development"
- name: synctags
uses: wei/git-sync@v3
with:
source_repo: "HumanBrainProject/neural-activity-resource"
source_branch: "refs/tags/*"
destination_repo: "https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/data-services/neural-activity-resource.git"
destination_branch: "refs/tags/*"