Skip to content

Merge pull request #207 from lemoony/update-readme #23

Merge pull request #207 from lemoony/update-readme

Merge pull request #207 from lemoony/update-readme #23

Workflow file for this run

name: mkdocs-dev
on:
push:
paths:
- 'docs/**'
- mkdocs.yml
branches:
- docs
- main
jobs:
deploy:
name: mkdocs-dev
runs-on: ubuntu-18.04
steps:
- name: Checkout main
uses: actions/checkout@v3
with:
fetch-depth: 0
persist-credentials: true
- uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Install dependencies
run: |
pip install mike
pip install mkdocs-material
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Configure the git user
run: |
git config user.name "Github Actions mkdocs Bot"
git config user.email "actions-mkdocs-bot@github.com"
- name: Deploy the dev documents
run: mike deploy --push dev