Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Commit 0f7420b

Browse files
Merge pull request #464 from BlueBrain/ebrains-sunc
add gh workflow to sync to ebrains mirror at each push
2 parents e943444 + e159f18 commit 0f7420b

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Mirror to Ebrains
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
7+
jobs:
8+
to_ebrains:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: syncmaster
12+
uses: wei/git-sync@v3
13+
with:
14+
source_repo: "BlueBrain/BluePyOpt"
15+
source_branch: "master"
16+
destination_repo: "https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/BlueBrain/bluepyopt.git"
17+
destination_branch: "master"
18+
- name: synctags
19+
uses: wei/git-sync@v3
20+
with:
21+
source_repo: "BlueBrain/BluePyOpt"
22+
source_branch: "refs/tags/*"
23+
destination_repo: "https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/BlueBrain/bluepyopt.git"
24+
destination_branch: "refs/tags/*"

0 commit comments

Comments
 (0)