diff --git a/.github/workflows/mirror-ebrains.yml b/.github/workflows/mirror-ebrains.yml new file mode 100644 index 00000000..0f47f7ee --- /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/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/*" \ No newline at end of file