diff --git a/Makefile b/Makefile index 5ce7a17..684a6af 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,7 @@ COMPOSE_TOOLING_RUN = docker compose -f docker-compose.tooling.yml run --rm --bu COMPOSE_E2E = docker compose -f docker-compose.yml -f docker-compose.override.e2e.yml COMPOSE_E2E_RUN = $(COMPOSE_E2E) run --rm --build e2e-test-runner COMPOSE_APP_DEV = docker compose -f docker-compose.yml -f docker-compose.override.yml +COMPOSE_RUN_DOCS = docker compose -f docker-compose.yml -f docker-compose.override.yml run docs COMPOSE_PUBLISH = docker compose -f docker-compose.yml -f docker-compose.override.publish.yml help: ## Show this help @@ -32,6 +33,9 @@ update-openapi-schemas: ## Updates OpenAPI schemas in docs site curl localhost:5002/swagger/v1/swagger.json -o docs/docs/api-reference/difficalcy-catch.json curl localhost:5003/swagger/v1/swagger.json -o docs/docs/api-reference/difficalcy-mania.json +build-docs: ## Builds documentation site + $(COMPOSE_RUN_DOCS) build --strict --clean + # TODO: move gh into tooling container (requires env var considerations) VERSION = release: ## Pushes docker images to ghcr.io and create a github release