Skip to content

Commit 3da142e

Browse files
authored
Create gitlab_sync.yml (#493)
1 parent f5b7fce commit 3da142e

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/gitlab_sync.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: GitlabSync
2+
3+
on:
4+
- push
5+
- delete
6+
7+
jobs:
8+
sync:
9+
runs-on: ubuntu-latest
10+
name: Git Repo Sync
11+
steps:
12+
- uses: actions/checkout@v2
13+
with:
14+
fetch-depth: 0
15+
- uses: action-pack/gitlab-sync@v3.03
16+
with:
17+
# GitLab repo URL
18+
url: ${{ secrets.GITLAB_TARGET_URL }}
19+
# GitLab username
20+
username: ${{ secrets.GITLAB_TARGET_USERNAME }}
21+
# GitLab token
22+
token: ${{ secrets.GITLAB_TARGET_TOKEN }}

0 commit comments

Comments
 (0)