Skip to content

Updates to docs ci workflow #3

Updates to docs ci workflow

Updates to docs ci workflow #3

Workflow file for this run

name: Build and Publish Docs
on:
push:
branches:
- main
- docs/docs-ci**
paths:
- "docs/**"
- "mkdocs.yml"
- "CHANGELOG.md"

Check failure on line 11 in .github/workflows/docs.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/docs.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
permissions:
contents: write
pages: write
jobs:
publish_docs:
runs-on: ubuntu-latest
environment: "Docs"
steps:
- uses: actions/checkout@v4
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force