Gogs
config
destination:
gogs:
- token: some-token
token_file: token.txt
user: some-name
url: http(s)://url-to-gogs
createorg: true
mirror:
enabled: false
visibility:
repositories: private
force: true
token
: your gogs token.token_file
: alternatively, specify the token in a file, relative to current working directory when executed.url
: there is no default value.user
: the user/org you want to mirror the repositories to.createorg
: if activated, it will create the value in user as organization if it doesn't exist on the system.
tip
if user
is empty and createorg
is set to true
, it creates organizations based on the original author.
mirror
: handle the mirror functionalityenabled
: if set tofalse
gogs will handle the mirror process itself, if set totrue
gickup will clone the repo locally and push it to gogs.
visibility
: set the visibility of created repositoriesrepositories
: can beprivate
orpublic
, default isprivate
force
: enable force push.