diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8f54bec82cc5f6db4c85007bffb7dc2818a40293..5e7082a5c6a2fac250b7023a58edd0aeef7c3999 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,7 @@
 variables:
   BUILD_DIR: dist
+  MIRROR_REPO: git@github.com:thm-projects/arsnova-lite.git
+
 
 stages:
   - codestyle
@@ -93,3 +95,18 @@ deploy:
     - ssh-keyscan "$SERVER_URL" >> ~/.ssh/known_hosts
     - ssh-add <(echo "$SSH_PRIVATE_KEY")
     - scp -r "$BUILD_DIR"* "$SSH_URL"
+
+sync_mirror:
+  stage: deploy
+  tags:
+    - git
+  when: always
+  allow_failure: true
+  dependencies: []
+  script:
+    - eval $(ssh-agent -s)
+    - mkdir ~/.ssh && echo "$SYNC_SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
+    - ssh-add <(echo "$SYNC_SSH_PRIVATE_KEY")
+    - git clone --bare "$CI_REPOSITORY_URL" mirror.git
+    - cd mirror.git
+    - git push --mirror "$MIRROR_REPO"