fix(docs): kubectl configmap command (#3880) #287
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
# | |
# On document changes and on demand: Deploy the dev documentatio | |
# | |
name: Deploy the dev documentation | |
on: | |
workflow_dispatch: {} | |
push: | |
paths: | |
- "docs/**" | |
- mkdocs.yml | |
branches: | |
- main | |
jobs: | |
deploy: | |
name: Deploy the dev documentation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout main | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
persist-credentials: true | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- name: Install dependencies | |
run: | | |
pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git | |
pip install mike | |
pip install mkdocs-macros-plugin | |
env: | |
GH_TOKEN: ${{ secrets.MKDOCS_AQUA_BOT }} | |
- name: Setup Git | |
run: | | |
git config user.name "github-actions" | |
git config user.email "github-actions@github.com" | |
- name: Deploy the dev documents | |
run: mike deploy --push dev |