mirror of https://github.com/openspug/spug
A 应用发布新增全局变量 SPUG_REPOS_DIR
parent
223f80a7ab
commit
153a39b4a2
|
@ -34,6 +34,7 @@ def deploy_dispatch(request, req, token):
|
|||
SPUG_VERSION=req.version,
|
||||
SPUG_DEPLOY_TYPE=req.type,
|
||||
SPUG_API_TOKEN=api_token,
|
||||
SPUG_REPOS_DIR=REPOS_DIR,
|
||||
)
|
||||
if req.deploy.extend == '1':
|
||||
env.update(json.loads(req.deploy.extend_obj.custom_envs))
|
||||
|
|
Loading…
Reference in New Issue