Skip to content

Update documentation.yml #63

Update documentation.yml

Update documentation.yml #63

Workflow file for this run

name: LoxiLB-Docs
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-python@v2
- run: pip install --upgrade pip && pip install mkdocs mkdocs-gen-files mkdocs-mermaid2-plugin mkdocs-autorefs mkdocs-material mike
- run: git config user.name 'github-actions[bot]' && git config user.email 'github-actions[bot]@users.noreply.github.com'
- name: Publish docs
run: |
mike deploy --push --update-alias ${{ github.event.release.tag_name }} latest
mike set-default --push latest