fix(docs): Fix build script for documentation to properly deploy swagger

This commit is contained in:
Georg Krause 2023-12-13 15:55:54 +01:00
parent 98d4f4ef54
commit c21bfce9d0
2 changed files with 3 additions and 2 deletions

View File

@ -0,0 +1 @@
Fix build script for documentation to properly deploy swagger

View File

@ -47,10 +47,10 @@ locale-prune-untranslated: $(VENV)
# Swagger
SWAGGER_VERSION = 5.1.2
SWAGGER_RELEASE_URL = https://github.com/swagger-api/swagger-ui/archive/refs/tags/v$(SWAGGER_VERSION).tar.gz
SWAGGER_BUILD_DIR = swagger
SWAGGER_BUILD_DIR = "$(BUILD_DIR)/swagger"
swagger:
mkdir "$(SWAGGER_BUILD_DIR)"
mkdir -p "$(SWAGGER_BUILD_DIR)"
curl -sSL "$(SWAGGER_RELEASE_URL)" | \
tar --extract \
--gzip \