From cf519f48e7107c98cde622da178628bced235e2e Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 16 Mar 2021 23:56:54 +0100 Subject: [PATCH] ci: ensure dist exists before client gen Signed-off-by: Jens Langhammer --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index bab38924d..a51474768 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -281,6 +281,7 @@ stages: script: | docker run --rm -v $(pwd):/local openapitools/openapi-generator-cli generate -i /local/swagger.yaml -g typescript-fetch -o /local/web/api --additional-properties=typescriptThreePlus=true,supportsES6=true,npmName=authentik-api,npmVersion=1.0.0 cd web + sudo chmod 777 -R api/ npm i npm run build - task: CmdLine@2