Skip to content

Commit

Permalink
add gh workflow to sync to ebrains mirror at each push
Browse files Browse the repository at this point in the history
  • 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.
24 changes: 24 additions & 0 deletions .github/workflows/mirror-ebrains.yml
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/*"

0 comments on commit e159f18

Please sign in to comment.