diff --git a/mkdocs/umn-mkdocs.yml b/mkdocs/umn-mkdocs.yml index 251c755..bb221a3 100644 --- a/mkdocs/umn-mkdocs.yml +++ b/mkdocs/umn-mkdocs.yml @@ -46,8 +46,8 @@ jobs: testResultsFiles: '$(Common.TestResultsDirectory)/Test-$(Build.SourceVersion).xml' failTaskOnFailedTests: ${{ parameters.FailOnTestFailure }} - script: | - echo -e "FROM squidfunk/mkdocs-material:8.2.9 \n RUN pip install mkdocs-awesome-pages-plugin mkdocs-git-revision-date-localized-plugin mkdocs-markdownextradata-plugin mkdocs-mermaid2-plugin" | docker build -t squidfunk/mkdocs-material - - docker run --rm -v ${PWD}:/docs -v $(Build.ArtifactStagingDirectory):/docs/site squidfunk/mkdocs-material build + pip install mkdocs-material mkdocs-awesome-pages-plugin mkdocs-git-revision-date-localized-plugin mkdocs-markdownextradata-plugin + mkdocs build -d $(Build.ArtifactStagingDirectory) displayName: mkdocs-material build - publish: $(Build.ArtifactStagingDirectory) artifact: ${{ coalesce(parameters.ArtifactName, parameters.DocsPath) }}