Files
demo-gitlab-mirror/README.md
T

739 B

demo-gitlab-mirror

Demo of a push mirror from GitLab to GitHub. The source lives on GitLab; every push is mirrored to GitHub. Commit on GitLab only, or the mirror diverges.

The setup guide (Vietnamese) is in docs/index.html, published to both GitLab Pages and GitHub Pages. It is based on the post Mirror repository từ GitLab sang GitHub.

Pages

  • GitLab Pages: .gitlab-ci.yml copies docs/ to public/ on the default branch.
  • GitHub Pages: serves docs/ from main, so no workflow file is needed and the mirror token only needs Contents permission.