diff --git a/.github/workflows/ebrains.yml b/.github/workflows/ebrains.yml new file mode 100644 index 0000000000000000000000000000000000000000..f3b256936a119e0baece1b43e4aad277a042b76f --- /dev/null +++ b/.github/workflows/ebrains.yml @@ -0,0 +1,24 @@ +name: Mirror to Ebrains + +on: + push: + branches: [ main ] + +jobs: + to_ebrains: + runs-on: ubuntu-latest + steps: + - name: syncmaster + uses: wei/git-sync@v3 + with: + source_repo: "HBPMedical/gateway" + source_branch: "main" + destination_repo: "https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/hbp-mip/gateway.git" + destination_branch: "main" + - name: synctags + uses: wei/git-sync@v3 + with: + source_repo: "HBPMedical/gateway" + source_branch: "refs/tags/*" + destination_repo: "https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/hbp-mip/gateway.git" + destination_branch: "refs/tags/*"