Skip to content

Commit ef83c98

Browse files
authored
Create sync.yml
1 parent 93ff335 commit ef83c98

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/sync.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Sync to GitLab
2+
on: [push, delete]
3+
4+
jobs:
5+
mirror:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v4
9+
with:
10+
fetch-depth: 0
11+
- name: Push to GitLab
12+
uses: pixta-dev/repository-mirroring-action@v1
13+
with:
14+
target_repo_url: https://oauth2:${{ secrets.GITLAB_TOKEN }}@gitlab.com/${{ github.repository }}

0 commit comments

Comments
 (0)