Update git mirroring

Kiara Grouwstra 2021-09-14 19:25:51 +00:00
parent 3448e1b727
commit b205e048fd
1 changed files with 1 additions and 1 deletions

@ -3,7 +3,7 @@ github -> gitlab (vooral voor forks):
- maak pull [mirror](https://docs.gitlab.com/ee/user/project/repository/repository_mirroring.html#pull-from-a-remote-repository) (geen auth of user@ nodig voor publieke repo's)
gitlab -> github (publieke non-forks):
- maak read-only [deploy token](https://docs.gitlab.com/ee/user/project/deploy_tokens/index.html) in gitlab
- maak read-only [deploy token](https://docs.gitlab.com/ee/user/project/deploy_tokens/index.html) in gitlab met naam/user `github`
- genereer een ssh key en stop de public key als [deploy key](https://docs.github.com/en/developers/overview/managing-deploy-keys#deploy-keys) in repo op github
- stop de private key van de ssh key in evenals de gitlab deploy token in [`github-mirror` repo secrets](https://github.com/bij1/github-mirror/settings/secrets/actions)
- voeg tevens steps in die github-mirror code toe voor de codebases die je wilt mirroren