diff --git a/.github/workflows/mirror-ebrains.yml b/.github/workflows/mirror-ebrains.yml new file mode 100644 index 0000000000000000000000000000000000000000..8526f517f84227e889486f26da30ce568ab85b45 --- /dev/null +++ b/.github/workflows/mirror-ebrains.yml @@ -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/*" \ No newline at end of file