mirror of
https://github.com/tiennm99/demo-gitlab-mirror.git
synced 2026-10-11 03:13:20 +00:00
ac748b81d5b4834423b8c00e7e34447560dc70bf
demo-gitlab-mirror
Demo of a push mirror from GitLab to GitHub. Commit on GitLab only; every push is mirrored to GitHub, and a commit made on GitHub makes the mirror diverge.
| Role | Repository | Pages |
|---|---|---|
| Source | gitlab.com/tiennm99/demo-gitlab-mirror | https://tiennm99.gitlab.io/demo-gitlab-mirror/ |
| Mirror target | github.com/tiennm99/demo-gitlab-mirror | https://tiennm99.github.io/demo-gitlab-mirror/ |
Both Pages sites serve the same setup guide (Vietnamese) from
docs/index.html. It is based on the post
Mirror repository từ GitLab sang GitHub.
Pages
- GitLab Pages:
.gitlab-ci.ymlcopiesdocs/topublic/on the default branch. - GitHub Pages: serves
docs/frommain, so no workflow file is needed and the mirror token only needsContentspermission.