-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add gh workflow to sync to ebrains mirror at each push
- Loading branch information
Jaquier Aurélien Tristan
committed
Jul 6, 2023
1 parent
e943444
commit e159f18
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Mirror to Ebrains | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
|
||
jobs: | ||
to_ebrains: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: syncmaster | ||
uses: wei/git-sync@v3 | ||
with: | ||
source_repo: "BlueBrain/BluePyOpt" | ||
source_branch: "master" | ||
destination_repo: "https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/BlueBrain/bluepyopt.git" | ||
destination_branch: "master" | ||
- name: synctags | ||
uses: wei/git-sync@v3 | ||
with: | ||
source_repo: "BlueBrain/BluePyOpt" | ||
source_branch: "refs/tags/*" | ||
destination_repo: "https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/BlueBrain/bluepyopt.git" | ||
destination_branch: "refs/tags/*" |