Skip to content

Commit

Permalink
Create github-to-gitlab.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vykozlov authored May 15, 2024
1 parent 2f1b48d commit f229d7d
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/github-to-gitlab.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: GitlabSync

on:
release:
branches:
- main
- master
push:
branches:
- main
- master
- test
- 'releases/**'
delete:


jobs:
sync:
runs-on: ubuntu-latest
name: Git Repo Sync
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# only github repos can be used..
- uses: vykozlov/[email protected]
# FORK of https://github.com/wangchucheng/git-repo-sync.git
with:
# You can store token in your project's 'Setting > Secrets' and reference the names here. Such as ${{ secrets.ACCESS\_TOKEN }}
target-url: ${{ secrets.TARGET_URL }}
target-username: ${{ secrets.TARGET_USERNAME }}
target-token: ${{ secrets.TARGET_TOKEN }}

0 comments on commit f229d7d

Please sign in to comment.