fix(deps): update github.com/johannesboyne/gofakes3 digest to 0da3aa9 #2483
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: docs | |
on: | |
push: | |
branches-ignore: | |
- "github-pages" | |
pull_request: {} | |
env: | |
# renovate: datasource=docker depName=squidfunk/mkdocs-material | |
MKDOCS_MATERIAL_VERSION: "9.5.42" | |
# renovate: datasource=pypi depName=mkdocs-awesome-pages-plugin | |
MKDOCS_AWESOME_PAGES_PLUGIN_VERSION: "2.9.3" | |
jobs: | |
changes: | |
runs-on: ubuntu-latest | |
outputs: | |
md: ${{ steps.filter.outputs.md }} | |
config: ${{ steps.filter.outputs.config }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dorny/paths-filter@v3 | |
id: filter | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
filters: | | |
md: | |
- '**/*.md' | |
config: | |
- '.github/workflows/docs.yml' | |
- 'mkdocs.yml' | |
docs-build: | |
if: | | |
(needs.changes.outputs.md == 'true') || | |
(needs.changes.outputs.config == 'true') | |
runs-on: ubuntu-latest | |
needs: | |
- changes | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
- run: pip install mkdocs-material==${{ env.MKDOCS_MATERIAL_VERSION }} | |
- run: pip install mkdocs-awesome-pages-plugin==${{ env.MKDOCS_AWESOME_PAGES_PLUGIN_VERSION }} | |
- run: mkdocs build | |
docs-deploy: | |
needs: | |
- docs-build | |
- changes | |
if: | | |
((needs.changes.outputs.md == 'true') || (needs.changes.outputs.config == 'true')) && | |
(github.ref == 'refs/heads/master') | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
- run: pip install mkdocs-material==${{ env.MKDOCS_MATERIAL_VERSION }} | |
- run: pip install mkdocs-awesome-pages-plugin==${{ env.MKDOCS_AWESOME_PAGES_PLUGIN_VERSION }} | |
- run: mkdocs gh-deploy --force |