summaryrefslogtreecommitdiffstats
path: root/.github/workflows/gitlabsync.yml
diff options
context:
space:
mode:
authorAizistral2022-07-04 19:13:50 +0200
committerAizistral2022-07-04 19:16:16 +0200
commitd0754e527a81f61ab4f578e81addf4f664e3d9c8 (patch)
tree8e346a48b698c40349ef381bc5ddfd6d1f1befdb /.github/workflows/gitlabsync.yml
parent531209f05799a69f0463efb9658d9cdf70bb1779 (diff)
Create gitlabsync.yml
Diffstat (limited to '.github/workflows/gitlabsync.yml')
-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 }}