This repository has been archived by the owner on Nov 28, 2024. It is now read-only.
Merge pull request #243 from openstack-k8s-operators/renovate/github.… #152
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 Docs | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
# this fetches all branches. Needed because we need gh-pages branch for deploy to work | |
fetch-depth: 0 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.9' | |
- name: Install MkDocs | |
run: pip install -r docs/doc_requirements.txt | |
- name: Publish docs | |
run: | | |
git config user.name github-actions | |
git config user.email github-actions@github.com | |
mkdocs gh-deploy --force --clean --verbose |