mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-18 12:02:26 +03:00
cache docs docker build as well
This commit is contained in:
parent
0a0a88c7d1
commit
6f247d69e6
|
@ -68,6 +68,11 @@ docker compose -f docker-compose.local.yml run --rm \
|
||||||
django python manage.py check --settings=config.settings.production --deploy --database default --fail-level WARNING
|
django python manage.py check --settings=config.settings.production --deploy --database default --fail-level WARNING
|
||||||
|
|
||||||
# Generate the HTML for the documentation
|
# Generate the HTML for the documentation
|
||||||
|
docker buildx bake -f docker-compose.docs.yml --load docs \
|
||||||
|
--allow fs=* \
|
||||||
|
--set docs.cache-from=type=gha,scope=docs-cached \
|
||||||
|
--set docs.cache-to=type=gha,scope=docs-cached,mode=max \
|
||||||
|
|
||||||
docker compose -f docker-compose.docs.yml run --rm docs make html
|
docker compose -f docker-compose.docs.yml run --rm docs make html
|
||||||
|
|
||||||
# Run npm build script if package.json is present
|
# Run npm build script if package.json is present
|
||||||
|
|
Loading…
Reference in New Issue
Block a user