ci: fix collectstatics build step
This commit is contained in:
parent
4f97fdcb1b
commit
763b72592a
|
@ -1,5 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
cp dev/deploy/settings_local_collectstatics.py ietf/settings_local.py
|
||||
|
||||
# Install Python dependencies
|
||||
pip --disable-pip-version-check --no-cache-dir install -r requirements.txt
|
||||
|
||||
|
|
7
dev/deploy/settings_local_collectstatics.py
Normal file
7
dev/deploy/settings_local_collectstatics.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Copyright The IETF Trust 2007-2019, All Rights Reserved
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from ietf.settings import * # pyflakes:ignore
|
||||
|
||||
STATIC_URL = "https://static.ietf.org/dt/%s/"%__version__
|
||||
STATIC_ROOT = os.path.abspath(BASE_DIR + "/../static/")
|
Loading…
Reference in a new issue