Bump cpp-linter from 1.6.0 to 1.6.1 #344
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: MkDocs Deploy | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x | |
- name: Install python action for doc extraction | |
run: pip install -r docs/requirements.txt | |
- name: check mkdocs build | |
if: github.ref != 'refs/heads/main' | |
run: mkdocs build | |
- name: Build docs and deploy to gh-pages | |
if: github.ref == 'refs/heads/main' | |
run: | | |
git config user.name 'github-actions' | |
git config user.email '41898282+github-actions[bot]@users.noreply.github.com' | |
mkdocs gh-deploy --force |