Skip to content

Merge pull request #76 from entelecheia/dependabot/github_actions/act… #100

Merge pull request #76 from entelecheia/dependabot/github_actions/act…

Merge pull request #76 from entelecheia/dependabot/github_actions/act… #100

Workflow file for this run

---
name: deploy-docs
on:
workflow_call:
workflow_dispatch:
push:
branches:
- main
# Paths can be used to only trigger actions when you have edited certain files, such as a file within the /docs directory
paths:
- "README.md"
- "mkdocs.yaml"
- "docs/**/*"
- ".github/workflows/deploy-docs.yaml"
- "chezmoi/.chezmoidata.yaml"
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: actions/cache@v3
with:
key: ${{ github.ref }}
path: .cache
- run: |
pip install -r docs/requirements.txt
mkdocs gh-deploy --force