From 9902a11621c3a012e6b4e1362ff4fd05f0a8eac0 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 16 Mar 2021 22:38:19 +0100 Subject: [PATCH] web: fix path for artefacts Signed-off-by: Jens Langhammer --- web/.eslintignore | 5 +---- web/azure-pipelines.yml | 10 +++++----- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/web/.eslintignore b/web/.eslintignore index 0799251cf3b2..8310f82be85e 100644 --- a/web/.eslintignore +++ b/web/.eslintignore @@ -5,7 +5,4 @@ dist # don't lint nyc coverage output coverage # don't lint generated code -src/api/apis -src/api/models -src/api/index.ts -src/api/runtime.ts +api/ diff --git a/web/azure-pipelines.yml b/web/azure-pipelines.yml index c94c2556892d..4352991cfcdf 100644 --- a/web/azure-pipelines.yml +++ b/web/azure-pipelines.yml @@ -26,7 +26,7 @@ stages: 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 - task: PublishPipelineArtifact@1 inputs: - targetPath: 'web/src/api/' + targetPath: 'web/api/' artifact: 'ts_swagger_client' publishLocation: 'pipeline' - stage: lint @@ -43,7 +43,7 @@ stages: inputs: buildType: 'current' artifactName: 'ts_swagger_client' - path: "web/src/api/" + path: "web/api/" - task: Npm@1 inputs: command: 'install' @@ -65,7 +65,7 @@ stages: inputs: buildType: 'current' artifactName: 'ts_swagger_client' - path: "web/src/api/" + path: "web/api/" - task: Npm@1 inputs: command: 'install' @@ -89,7 +89,7 @@ stages: inputs: buildType: 'current' artifactName: 'ts_swagger_client' - path: "web/src/api/" + path: "web/api/" - task: Npm@1 inputs: command: 'install' @@ -109,7 +109,7 @@ stages: inputs: buildType: 'current' artifactName: 'ts_swagger_client' - path: "web/src/api/" + path: "web/api/" - task: Bash@3 inputs: targetType: 'inline'