957 B
957 B
Git Hosting Topology
Primary host:
- Forgejo (
origin)
Mirrors (push-only):
- Codeberg (
mirror-codeberg) - GitHub (
mirror-github)
Codeberg and GitHub are distribution mirrors only. CI/actions should run on Forgejo primary.
Configure local remotes
./scripts/git-configure-hosting.sh
Defaults:
origin:git@forge.every.channel:every-channel/every.channel.gitmirror-codeberg:git@codeberg.org:every-channel/every.channel.gitmirror-github:git@github.com:every-channel/every.channel.git
You can override via env vars:
EVERY_CHANNEL_PRIMARY_GIT_URLEVERY_CHANNEL_CODEBERG_GIT_URLEVERY_CHANNEL_GITHUB_GIT_URL
Push mirrors
./scripts/git-push-mirrors.sh
Disable actions on Codeberg mirror
EVERY_CHANNEL_FORGE_HOST=https://codeberg.org \
EVERY_CHANNEL_FORGE_REPO=every-channel/every.channel \
EVERY_CHANNEL_FORGE_ACTIONS_ENABLED=false \
./scripts/forge-set-repo-actions.sh