summaryrefslogtreecommitdiffstats
path: root/.github/workflows/gitlabsync.yml
diff options
context:
space:
mode:
authorAizistral2022-07-04 19:13:50 +0200
committerAizistral2022-07-04 19:16:01 +0200
commit603173594eaee1347dbfe72af2dfaa2f6ce9b7d1 (patch)
tree33368839467d5e5d4b57b280665bf6bed0743b9f /.github/workflows/gitlabsync.yml
parent867597e3b14c0cb9971a5c64860e7dfc1ee1c43d (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 }}