Skip to content

Commit

Permalink
Merge pull request #464 from BlueBrain/ebrains-sunc
Browse files Browse the repository at this point in the history
add gh workflow to sync to ebrains mirror at each push
  • Loading branch information
AurelienJaquier authored Jul 6, 2023
2 parents e943444 + e159f18 commit 0f7420b
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 0f7420b

Please sign in to comment.