summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/gitlabsync.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/gitlabsync.yml b/.github/workflows/gitlabsync.yml
new file mode 100644
index 0000000..4e7582f
--- /dev/null
+++ b/.github/workflows/gitlabsync.yml
@@ -0,0 +1,19 @@
+name: GitlabSync
+
+on:
+ - push
+ - delete
+
+jobs:
+ sync:
+ runs-on: ubuntu-latest
+ name: Git Repo Sync
+ steps:
+ - uses: actions/checkout@v2
+ with:
+ fetch-depth: 0
+ - uses: wangchucheng/git-repo-sync@v0.1.0
+ with:
+ target-url: ${{ secrets.TARGET_URL }}
+ target-username: ${{ secrets.TARGET_USERNAME }}
+ target-token: ${{ secrets.TARGET_TOKEN }}