You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
* https://github.com/koalaman/shellcheck/wiki/SC2155 |
2 years ago | |
---|---|---|
.gitignore | 2 years ago | |
readme.md | 2 years ago | |
script.config.sample | 2 years ago | |
script.sh | 2 years ago |
readme.md
Synchronize local repo to github repo
Configure script.config file and set all variable as :
GITHUB_TOKEN="[any string token provide by github]"
GITHUB_ORGANIZATION="[name organization]"
GITHUB_BASE="https://api.github.com"
GITHUB_TEAMID=[numeric value]
GITEA_URL="[url root repositoies as https://git.spip.net/spip]"
SSHKEY_PATH="[ssh key directory]"
Goto root repositories directory as /var/git/repositories/spip
execute script.sh