2024-03-03 20:59:08 +01:00
|
|
|
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:
|
|
|
|
# Such as https://github.com/wangchucheng/git-repo-sync.git
|
2024-03-06 21:42:53 +01:00
|
|
|
target-url: https://github.com/sudo-flix/sudo-source.git
|
2024-03-03 20:59:08 +01:00
|
|
|
# Such as wangchucheng
|
|
|
|
target-username: itzCozi
|
|
|
|
# You can store token in your project's 'Setting > Secrets' and reference the name here. Such as ${{ secrets.ACCESS\_TOKEN }}
|
|
|
|
target-token: glpat-y24SW9CqLWRtmkWGFAez
|