[Documentation] Pin version of mkdocs-material and used plugins (#1029) #277
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: build-documentation | |
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: write | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout main | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: 3.x | |
| - name: Cache dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| key: ${{ github.ref }} | |
| path: .cache | |
| - name: Install dependencies | |
| run: | | |
| pip install mkdocs-material==9.7.6 mkdocs-material-extensions==1.3.1 mkdocs-git-revision-date-localized-plugin==1.5.1 mike==2.1.4 mkdocs-glightbox==0.5.2 mkdocs-macros-plugin==1.5.0 pandas==3.0.1 click==8.2.1 | |
| - name: Build documentation | |
| run: | | |
| git config user.name sage-wright | |
| git config user.email sage.wright@theiagen.com | |
| mike deploy --push main |