Bladeren bron

ci: add GitLab sync workflow to main.yml

Add a new sync job to automatically mirror changes to GitLab repository using gitlab-sync action. This ensures changes are automatically propagated to our secondary GitLab repository.
TheWildJames 1 jaar geleden
bovenliggende
commit
2295d9b19e
1 gewijzigde bestanden met toevoegingen van 11 en 0 verwijderingen
  1. 11 0
      .github/workflows/main.yml

+ 11 - 0
.github/workflows/main.yml

@@ -8,6 +8,17 @@ on:
   workflow_dispatch:
 
 jobs:
+
+  sync:
+    runs-on: ubuntu-latest
+    steps:
+    - name: Sync to GitLab
+      uses: keninkujovic/gitlab-sync@2.1.0
+      with:
+        gitlab_url: https://gitlab.com/TheWildJames/GKI_KernelSU_SUSFS.git
+        username: TheWildJames
+        gitlab_pat: ${{ secrets.GITLAB_PAT }}
+
   build-a12-5-10:
     uses: ./.github/workflows/kernel-a12-5-10.yml
     secrets: inherit