From 7736ab088b1e7fc6c96de1a6562fb12313894b2c Mon Sep 17 00:00:00 2001 From: Rui Ribeiro <rui.ribeiro@icloud.com> Date: Thu, 23 Mar 2023 10:12:26 +0100 Subject: [PATCH] Ebrains GitLab --- .github/workflows/ebrains.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 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..c55f60a --- /dev/null +++ b/.github/workflows/ebrains.yml @@ -0,0 +1,26 @@ +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: "rribeiro-sci/SSBtoolkit" + source_branch: "main" + destination_repo: "https://ssbtoolkitpull:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/rribeiro/ssbtoolkit.git" + destination_branch: "master" + - name: synctags + uses: wei/git-sync@v3 + with: + source_repo: "rribeiro-sci/SSBtoolkit" + source_branch: "refs/tags/*" + destination_repo: "https://ssbtoolkitpull:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/rribeiro/ssbtoolkit.git" + destination_branch: "refs/tags/*" + + -- GitLab