ci: ensure dist exists before client gen
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
9902a11621
commit
eb884f7ef7
|
@ -280,6 +280,7 @@ stages:
|
|||
inputs:
|
||||
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
|
||||
sudo chmod 777 -R api/
|
||||
cd web
|
||||
npm i
|
||||
npm run build
|
||||
|
|
Reference in a new issue