feat(server): add gogs config

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
master
Bo-Yi Wu 2019-07-27 14:51:00 +08:00
parent e1a77f69d7
commit 711da83bd2
1 changed files with 5 additions and 0 deletions

View File

@ -76,6 +76,11 @@ DRONE_STASH_PRIVATE_KEY={{ drone_stash_private_key }}
DRONE_STASH_SKIP_VERIFY={{ drone_stash_skip_verify }}
DRONE_STASH_DEBUG={{ drone_stash_debug }}
{% endif %}
{% if drone_gogs_server != "" %}
DRONE_GOGS_SERVER={{ drone_gogs_server }}
DRONE_GOGS_SKIP_VERIFY={{ drone_gogs_skip_verify }}
DRONE_GOGS_DEBUG={{ drone_gogs_debug }}
{% endif %}
{% if aws_access_key_id != "" and aws_secret_access_key != "" %}
AWS_ACCESS_KEY_ID={{ aws_access_key_id }}
AWS_SECRET_ACCESS_KEY={{ aws_secret_access_key }}