1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
name: GitlabSync on: - push - delete jobs: sync: runs-on: ubuntu-latest name: Git Repo Sync steps: - uses: actions/checkout@v3 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 }}