Skip to content

Commit

Permalink
web: fix path for artefacts
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Langhammer <[email protected]>
  • Loading branch information
BeryJu committed Mar 16, 2021
1 parent abbec50 commit 9902a11
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
5 changes: 1 addition & 4 deletions web/.eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -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/
10 changes: 5 additions & 5 deletions web/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand All @@ -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'
Expand All @@ -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'
Expand All @@ -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'
Expand Down

0 comments on commit 9902a11

Please sign in to comment.