Bump mkdocs-material from 9.4.6 to 9.4.7 #765
Workflow file for this run
This file contains 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 mkdocs and deploy to GitHub Pages | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Build docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
python-version: 3.x | |
- uses: actions/[email protected] | |
with: | |
key: ${{ github.ref }} | |
path: .cache | |
- run: pip install -r docs/requirements.txt | |
- run: mkdocs build | |
deploy: | |
if: github.event_name == 'push' && contains(fromJson('["refs/heads/master", "refs/heads/main"]'), github.ref) | |
needs: build | |
name: Deploy docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: '0' | |
- uses: actions/[email protected] | |
with: | |
python-version: 3.x | |
- uses: actions/[email protected] | |
with: | |
key: ${{ github.ref }} | |
path: .cache | |
- run: pip install -r docs/requirements.txt | |
- run: mkdocs gh-deploy --force |