From 0dbeef330c7d8d05f9ccc24e707bc098d8bc187c Mon Sep 17 00:00:00 2001 From: Andrew Hosgood Date: Thu, 21 Sep 2023 12:38:44 +0100 Subject: [PATCH] Copy in static assets to platform.sh --- .platform.app.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.platform.app.yaml b/.platform.app.yaml index 6f006a5c7..5ca341755 100644 --- a/.platform.app.yaml +++ b/.platform.app.yaml @@ -57,6 +57,8 @@ hooks: nvm install npm install + mkdir -p templates/static/assets + cp -R node_modules/@nationalarchives/frontend/nationalarchives/assets/* templates/static/assets npm run compile poetry run python manage.py collectstatic --no-input