From 84e21214ef885618aac02c790771c14b23f9c650 Mon Sep 17 00:00:00 2001
From: Brent Huisman <brenthuisman@users.noreply.github.com>
Date: Fri, 5 Feb 2021 09:53:08 +0100
Subject: [PATCH] Github Action to auto-mirror to gitlab.ebrains.eu (#1348)

---
 .github/workflows/ebrains.yml | 13 +++++++++++++
 1 file changed, 13 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 00000000..77bad8a3
--- /dev/null
+++ b/.github/workflows/ebrains.yml
@@ -0,0 +1,13 @@
+name: Mirroring
+
+on: [push, delete]
+
+jobs:
+  to_gitlab:
+    runs-on: ubuntu-20.04
+    steps:
+    - uses: actions/checkout@v1
+    - uses: pixta-dev/repository-mirroring-action@v1
+      with:
+        target_repo_url:
+          https://ghpusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/arbor-sim/arbor.git
-- 
GitLab