Git Repo Mirroring
Version updated for shashinma/git-repo-mirror to version v1.0.0.
- This publisher is shown as erified by GitHub.
- This action is used across all versions by 5 repositories.
Go to the GitHub Marketplace to find the latest changes.
Release notes
Git Repository Mirroring
Git Repo Mirroring enables you to synchronize code to other code management platforms, such as GitLab, Gitee, etc.
Try Git Repository Mirroring
You can use the following example as a template to create a new file with any name under .github/workflows/
.
name: <action-name>
on:
- push
- delete
jobs:
sync:
runs-on: ubuntu-latest
name: Git Repo Sync
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: shashinma/git-repo-mirror
with:
# Such as https://github.com/shashinma/git-repo-mirror.git
target-url: <target-url>
# Such as shashinma
target-username: <target-username>
# You can store token in your project's 'Setting > Secrets' and reference the name here. Such as ${{ secrets.ACCESS_TOKEN }}
target-token: <target-token>