Skip to content

Commit

Permalink
Merge pull request #261 from BlueBrain/ebrains-sync
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 b2326f4 + 75ac767 commit c5a96fd
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/BluePyMM"
source_branch: "master"
destination_repo: "https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/BlueBrain/bluepymm.git"
destination_branch: "master"
- name: synctags
uses: wei/git-sync@v3
with:
source_repo: "BlueBrain/BluePyMM"
source_branch: "refs/tags/*"
destination_repo: "https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/BlueBrain/bluepymm.git"
destination_branch: "refs/tags/*"

0 comments on commit c5a96fd

Please sign in to comment.