add vault-k8s-operator tutorial draft, change navigation to hide subp… #16
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: ci | |
on: | |
# run this workflow on any branch or a PR | |
push: | |
branches: | |
- "**" | |
pull_request: | |
branches: | |
- "**" | |
jobs: | |
mkdocs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.x" | |
- name: Install dependencies | |
run: pip install -r requirements.txt | |
- name: Build | |
run: mkdocs build | |
- name: Publish | |
# Only run on main | |
if: github.ref == 'refs/heads/main' | |
run: mkdocs gh-deploy --force |