Merge pull request #1077 from kapicorp/dependabot/pip/mkdocs-material… #156
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: Build and deploy documentation on merge to master | |
concurrency: | |
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' | |
cancel-in-progress: true | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'docs/**' | |
- 'requirements.docs.txt' | |
- 'Dockerfile.docs' | |
- 'mkdocs.yml' | |
- 'CNAME' | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout kapitan recursively | |
uses: actions/checkout@v4 | |
- name: Deploy docs | |
uses: mhausenblas/mkdocs-deploy-gh-pages@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
CONFIG_FILE: ./mkdocs.yml | |
REQUIREMENTS: requirements.docs.txt |