Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Create mirror_to_gitlab

Andrii Romasiunc38b5ed39bd1
diff --git a/.github/workflows/mirror_to_gitlab b/.github/workflows/mirror_to_gitlab
new file mode 100644
index 000000000..6662cbfdf
--- /dev/null
+++ b/.github/workflows/mirror_to_gitlab
@@ -0,0 +1,20 @@
+name: Mirror to Gitlab
+
+on:
+ push:
+ branches:
+ - main
+
+jobs:
+ mirror:
+ name: Mirror to Gitlab
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+ - uses: yesolutions/mirror-action@master
+ with:
+ REMOTE: 'https://gitlab.com/spyoungtech/mirror-action.git'
+ GIT_USERNAME: ${{ secrets.GITLAB_MIRROR_USERNAME }}
+ GIT_PASSWORD: ${{ secrets.GITLAB_MIRROR_PASSWORD }}