From a09de3aba59cb6e21f9ceb8c3ee47a8579ecb3af Mon Sep 17 00:00:00 2001 From: Harry Carey <38996929+PolarBean@users.noreply.github.com> Date: Mon, 25 Sep 2023 19:15:24 +0200 Subject: [PATCH] add gitlab mirror action --- .github/workflows/main.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..ea73cea --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,21 @@ +name: Mirror to Ebrains + +on: + push: + branches: [ main ] + + +jobs: + # set the job name + to_ebrains: + runs-on: ubuntu-latest + steps: + + - name: syncmain + uses: wei/git-sync@v3 + + with: + source_repo: "Neural-Systems-at-UIO/PyNutil" + source_branch: "main" + destination_repo: "https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/polarbean/PyNutil.git" + destination_branch: "main"