A GitHub Action for mirroring your commits to a different remote repository
This project is mirrored on GitLab
For example, this project uses the following workflow to mirror from GitHub to GitLab
workflow "Mirror Workflow" {
on = "push"
resolves = ["Mirror Action"]
}
action "Mirror Action" {
uses = "spyoungtech/mirror-action@master"
secrets = ["GIT_PASSWORD"]
args = "https://gitlab.com/spyoungtech/mirror-action.git"
env = {
GIT_USERNAME = "spyoungtech"
}
}
Be sure to set the GIT_PASSWORD
secret in the Actions editor.
Coming soon