Pipeline still had a couple lingering references to the "public"
directory, but the new Docusaurus site outputs to "build".
This commit is contained in:
Joshua Smithrud 2024-11-15 14:22:27 -08:00 коммит произвёл GitHub
Родитель dc9b5ee9b8
Коммит ac5883c8b7
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -194,7 +194,7 @@ stages:
- task: PublishPipelineArtifact@1
displayName: 'Publish site build artifact'
inputs:
targetPath: '$(Build.SourcesDirectory)/docs/public'
targetPath: '$(Build.SourcesDirectory)/docs/build'
artifactName: 'fluidframework-docs'
publishLocation: 'pipeline'
@ -359,11 +359,11 @@ stages:
clean: true
- task: DownloadPipelineArtifact@2
displayName: 'Copy fluidframework-docs to public folder'
displayName: 'Copy fluidframework-docs to "build" folder'
inputs:
source: current
artifact: fluidframework-docs
path: '$(Build.SourcesDirectory)/docs/public'
path: '$(Build.SourcesDirectory)/docs/build'
- task: AzureStaticWebApp@0
displayName: 'Deploy website to ASWA'
@ -371,7 +371,7 @@ stages:
skip_app_build: true # site was built in previous stage
skip_api_build: true # api is written in js, no build needed
cwd: $(Build.SourcesDirectory)
app_location: 'docs/public'
app_location: 'docs/build'
api_location: 'docs/api'
output_location: ''
azure_static_web_apps_api_token: '${{ variables.deploymentToken }}'