web: fix path for artefacts
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
abbec501f7
commit
9902a11621
|
@ -5,7 +5,4 @@ dist
|
||||||
# don't lint nyc coverage output
|
# don't lint nyc coverage output
|
||||||
coverage
|
coverage
|
||||||
# don't lint generated code
|
# don't lint generated code
|
||||||
src/api/apis
|
api/
|
||||||
src/api/models
|
|
||||||
src/api/index.ts
|
|
||||||
src/api/runtime.ts
|
|
||||||
|
|
|
@ -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
|
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
|
- task: PublishPipelineArtifact@1
|
||||||
inputs:
|
inputs:
|
||||||
targetPath: 'web/src/api/'
|
targetPath: 'web/api/'
|
||||||
artifact: 'ts_swagger_client'
|
artifact: 'ts_swagger_client'
|
||||||
publishLocation: 'pipeline'
|
publishLocation: 'pipeline'
|
||||||
- stage: lint
|
- stage: lint
|
||||||
|
@ -43,7 +43,7 @@ stages:
|
||||||
inputs:
|
inputs:
|
||||||
buildType: 'current'
|
buildType: 'current'
|
||||||
artifactName: 'ts_swagger_client'
|
artifactName: 'ts_swagger_client'
|
||||||
path: "web/src/api/"
|
path: "web/api/"
|
||||||
- task: Npm@1
|
- task: Npm@1
|
||||||
inputs:
|
inputs:
|
||||||
command: 'install'
|
command: 'install'
|
||||||
|
@ -65,7 +65,7 @@ stages:
|
||||||
inputs:
|
inputs:
|
||||||
buildType: 'current'
|
buildType: 'current'
|
||||||
artifactName: 'ts_swagger_client'
|
artifactName: 'ts_swagger_client'
|
||||||
path: "web/src/api/"
|
path: "web/api/"
|
||||||
- task: Npm@1
|
- task: Npm@1
|
||||||
inputs:
|
inputs:
|
||||||
command: 'install'
|
command: 'install'
|
||||||
|
@ -89,7 +89,7 @@ stages:
|
||||||
inputs:
|
inputs:
|
||||||
buildType: 'current'
|
buildType: 'current'
|
||||||
artifactName: 'ts_swagger_client'
|
artifactName: 'ts_swagger_client'
|
||||||
path: "web/src/api/"
|
path: "web/api/"
|
||||||
- task: Npm@1
|
- task: Npm@1
|
||||||
inputs:
|
inputs:
|
||||||
command: 'install'
|
command: 'install'
|
||||||
|
@ -109,7 +109,7 @@ stages:
|
||||||
inputs:
|
inputs:
|
||||||
buildType: 'current'
|
buildType: 'current'
|
||||||
artifactName: 'ts_swagger_client'
|
artifactName: 'ts_swagger_client'
|
||||||
path: "web/src/api/"
|
path: "web/api/"
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
inputs:
|
inputs:
|
||||||
targetType: 'inline'
|
targetType: 'inline'
|
||||||
|
|
Reference in a new issue