From 6b6f03301e5921ae9fba0fdf1acd60a232c17e92 Mon Sep 17 00:00:00 2001 From: Jens Kleineheismann Date: Fri, 11 Oct 2019 16:55:00 +0200 Subject: [PATCH] Setup STATIC_URL in conf/settings.py --- .buildbot/deploy/02-setup.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.buildbot/deploy/02-setup.sh b/.buildbot/deploy/02-setup.sh index 83a99cd..9cc9527 100644 --- a/.buildbot/deploy/02-setup.sh +++ b/.buildbot/deploy/02-setup.sh @@ -1 +1,9 @@ python setup.py django + +if test -n "$ROOT_URI" ; then + cat <> conf/settings.py + +STATIC_URL = '${ROOT_URI}/static/' + +E-O-H +fi