Browse Source

Sync to GitLab

Misaka No 3 years ago
parent
commit
5c72135495
1 changed files with 20 additions and 0 deletions
  1. 20 0
      .github/workflows/sync.yml

+ 20 - 0
.github/workflows/sync.yml

@@ -0,0 +1,20 @@
+name: Sync to Gitlab
+
+on: 
+  push:
+  delete:
+  workflow_dispatch:
+
+jobs:
+  to_gitlab:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v3
+        with:
+          fetch-depth: 0
+      - uses: pixta-dev/repository-mirroring-action@v1
+        with:
+          target_repo_url:
+            [email protected]:xrayr-project/XrayR.git
+          ssh_private_key:
+            ${{ secrets.SSH_PRIVATEKEY }}