Skip to content

Commit

Permalink
ci: ensure dist exists before client gen
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
  • Loading branch information
BeryJu committed Mar 16, 2021
1 parent 9902a11 commit cf519f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf519f4

Please sign in to comment.