Skip to content

automatic gh action for publishing mkdocs #1

automatic gh action for publishing mkdocs

automatic gh action for publishing mkdocs #1

Workflow file for this run

name: Publish docs via GitHub Pages
on:
push:
branches:
- main
- material-for-mkdocs
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v2
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CONFIG_FILE: docs/mkdocs.yml
REQUIREMENTS: docs/requirements.txt