mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-22 18:56:15 +02:00
Add a build script for prearing assets for deploy
This commit is contained in:
parent
784be2b279
commit
2f09db0ec5
1 changed files with 8 additions and 0 deletions
8
ops/scripts/build.sh
Executable file
8
ops/scripts/build.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Compile assets
|
||||
docker compose run node npx gulp compile;
|
||||
docker compose run node npx gulp copyAssets;
|
||||
|
||||
# Collect assets
|
||||
docker compose run app python manage.py collectstatic --noinput
|
Loading…
Add table
Add a link
Reference in a new issue