lissy93/Magic Mirror - Repo backup/mirror to alternate git host
A git mirror workflow, to push --all and --tags to a target SSH remote (e.g. Codeberg). Includes a tidy job summary.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| ssh_key | SSH private key with write access to the target repo | yes | — |
| host | SSH host (e.g. git@codeberg.org) | no | git@codeberg.org |
| user | Target user/org. Default = caller's repo owner | no | "" |
| repo | Target repo name. Default = caller's repo name | no | "" |
| force_push | Force push to overwrite remote history (use with caution) | no | false |
Outputs
| name | description |
|---|---|
| target_url | The target repository URL |
| success | Whether the mirror operation succeeded |