diff --git a/config/azure-pipelines/update-docs.yaml b/config/azure-pipelines/update-docs.yaml index fe555a41..a4eb2a66 100644 --- a/config/azure-pipelines/update-docs.yaml +++ b/config/azure-pipelines/update-docs.yaml @@ -9,7 +9,7 @@ schedules: displayName: 'Daily release (M-F at 8am)' # will be 7am when DST ends unless trigger is updated branches: include: - - master + - master always: true steps: @@ -31,6 +31,13 @@ steps: verbose: false customCommand: install --save-dev office-ui-fabric-react @uifabric/fabric-website +- task: Npm@1 + displayName: 'npm install sdp converter tool' + inputs: + command: custom + verbose: false + customCommand: install --save-dev office2sdp + - task: Npm@1 displayName: 'npm run build' inputs: @@ -76,6 +83,12 @@ steps: $(Build.ArtifactStagingDirectory)/doc-files/api displayName: Inject additional line in TOC.yml +- script: > + node + node_modules/.bin/sdp-cli + -s $(Build.ArtifactStagingDirectory)/doc-files/api + displayName: Run SDP converter + - task: CopyFiles@2 displayName: 'Copy example and overview files' inputs: