From f9799b0284bdd8c2b6cdfc81a4e9028d5d45ee65 Mon Sep 17 00:00:00 2001 From: "K.Filippopolitis" <56073635+KFilippopolitis@users.noreply.github.com> Date: Tue, 11 Apr 2023 18:27:19 +0300 Subject: [PATCH] Mirror to 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 0000000..f3b2569 --- /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/*" -- GitLab