Skip to content

Commit

Permalink
Add build-docs make target
Browse files Browse the repository at this point in the history
  • Loading branch information
Syriiin committed May 8, 2024
1 parent 1bcc1b5 commit a7f62cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a7f62cf

Please sign in to comment.