ci: fix collectstatics build step

This commit is contained in:
Nicolas Giard 2024-01-15 18:41:18 -05:00 committed by GitHub
parent 4f97fdcb1b
commit 763b72592a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View file

@ -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

View 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/")