From b0dc92cdb5394155a32d993d6e4fe53242f669a8 Mon Sep 17 00:00:00 2001 From: "K.Filippopolitis" <56073635+KFilippopolitis@users.noreply.github.com> Date: Tue, 11 Apr 2023 15:30:38 +0300 Subject: [PATCH] Mirror ebrains --- .github/workflows/ebrains.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/ebrains.yml diff --git a/.github/workflows/ebrains.yml b/.github/workflows/ebrains.yml new file mode 100644 index 000000000..8e4025aec --- /dev/null +++ b/.github/workflows/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: "HBPMedical/portal-backend" + source_branch: "master" + destination_repo: "https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/hbp-mip/portal-backend.git" + destination_branch: "master" + - name: synctags + uses: wei/git-sync@v3 + with: + source_repo: "HBPMedical/portal-backend" + source_branch: "refs/tags/*" + destination_repo: "https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/hbp-mip/portal-backend.git" + destination_branch: "refs/tags/*" -- GitLab