Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion config/azure-pipelines/update-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down