Skip to content

teamaltevo/actions-git-mirror

 
 

Repository files navigation

actions git mirror

An action for git repository mirroring

Run Mirroring a repository commands in github action.

git clone --bare https://github.com/exampleuser/old-repository.git
cd old-repository
git push --mirror https://github.com/exampleuser/new-repository.git

Usage

- uses: zcong1993/actions-git-mirror@master
  with:
    dest-repo: https://gitee.com/owner/some-dest-repo.git
    dest-token: ${{ secrets.DEST_TOKEN }}
    repo-token: ${{ secrets.GITHUB_TOKEN }}

License

MIT © zcong1993

About

An action for git repository mirroring

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%