Skip to content

Exclude library-doc #14

Exclude library-doc

Exclude library-doc #14

Workflow file for this run

name: Deploy docs

Check failure on line 1 in .github/workflows/deploy_docs.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy_docs.yml

Invalid workflow file

you may only define one of `paths` and `paths-ignore` for a single event
on:
push:
paths:
- 'mkdocs.yml'
- 'docs/**'
paths-ignore:
- 'docs/library-doc.md'
branches:
- main
permissions:
contents: write
jobs:
deploy_docs:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force