Setup gitlab mirroring

This commit is contained in:
2025-09-12 10:45:06 +02:00
parent 766cb885a5
commit c8fc12c2af
2 changed files with 21 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
name: Sync Repository to GitLab
on:
push
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout all history
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Sync to GitLab
uses: keninkujovic/gitlab-sync@2.1.0
with:
gitlab_url: ${{ secrets.GITLAB_URL }}
username: ${{ secrets.GITLAB_USERNAME }}
gitlab_pat: ${{ secrets.GITLAB_PAT }}
+1
View File
@@ -9,6 +9,7 @@
<File Path=".github/dependabot.yml" />
<File Path=".github/workflows/cd.yaml" />
<File Path=".github/workflows/ci.yaml" />
<File Path=".github/workflows/gitlab-mirror.yaml" />
<File Path="Directory.Build.props" />
<File Path="Directory.Packages.props" />
<File Path="LICENSE.txt" />