From 8a921aa70b48a7fe59edc474149b83ca52060e98 Mon Sep 17 00:00:00 2001 From: vapao Date: Wed, 5 Aug 2020 19:16:21 +0800 Subject: [PATCH] =?UTF-8?q?A=20=E6=96=B0=E5=A2=9E=E5=B8=B8=E8=A7=84?= =?UTF-8?q?=E5=8F=91=E5=B8=83=E5=85=A8=E5=B1=80=E5=8F=98=E9=87=8FSPUG=5FDS?= =?UTF-8?q?T=5FDIR=20#162?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spug_api/apps/deploy/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spug_api/apps/deploy/utils.py b/spug_api/apps/deploy/utils.py index b78a6c1..bbf2c87 100644 --- a/spug_api/apps/deploy/utils.py +++ b/spug_api/apps/deploy/utils.py @@ -59,6 +59,7 @@ def deploy_dispatch(request, req, token): def _ext1_deploy(req, helper, env): extend = req.deploy.extend_obj extras = json.loads(req.extra) + env.update(SPUG_DST_DIR=extend.dst_dir) if extras[0] == 'branch': tree_ish = extras[2] env.update(SPUG_GIT_BRANCH=extras[1], SPUG_GIT_COMMIT_ID=extras[2])