Skip to content

Commit

Permalink
Use python directly instead of container (#37)
Browse files Browse the repository at this point in the history
The container isn't as fast or slick since we've added plugins, and the latest version of the container fails bizarrely in Azure DevOps. Using python running directly on the agent works just as well, and is in fact a little faster. This also removes the mermaid plugin.
  • Loading branch information
FISHMANPET authored Apr 25, 2022
1 parent 7fbe038 commit dd177b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mkdocs/umn-mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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) }}
Expand Down

0 comments on commit dd177b7

Please sign in to comment.