Skip to content

Commit

Permalink
Update build-packages.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-kurmanov committed Apr 30, 2024
1 parent 73ae588 commit 0446c39
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions build-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -320,22 +320,22 @@ jobs:
npm run doc_gen
displayName: 'Generate docs'
# - task: CopyFiles@2
# inputs:
# SourceFolder: '$(Build.SourcesDirectory)/survey-creator/docs'
# TargetFolder: '$(Build.SourcesDirectory)/service/surveyjs.io/App_Data/DocsEditor'
# CleanTargetFolder: true
# displayName: 'Copy root docs to the local surveyjs/service repo'

- task: CopyFiles@2
inputs:
SourceFolder: '$(Build.SourcesDirectory)/survey-creator/docs'
SourceFolder: '$(Build.SourcesDirectory)/survey-creator/packages/survey-creator-core/docs'
Contents: |
classes.json
pmes.json
surveyjs_definition.json
TargetFolder: '$(Build.SourcesDirectory)/service/surveyjs.io/App_Data/DocsEditor'
CleanTargetFolder: false
displayName: 'Copy root docs to the local surveyjs/service repo'

- task: CopyFiles@2
inputs:
SourceFolder: '$(Build.SourcesDirectory)/survey-creator/packages/survey-creator-core/docs'
TargetFolder: '$(Build.SourcesDirectory)/service/surveyjs.io/App_Data/DocsEditor'
CleanTargetFolder: false
displayName: 'Copy generated docs to the local surveyjs/service repo'

# read about the problem with git output ($env:GIT_REDIRECT_STDERR = '2>&1') :
Expand Down

0 comments on commit 0446c39

Please sign in to comment.