Browse Source

Add a workflow for mkdocs

pull/1121/head
Hironsan 3 years ago
parent
commit
65ef4f599f
1 changed files with 18 additions and 0 deletions
  1. 18
      .github/workflows/mkdocs-deployment.yml

18
.github/workflows/mkdocs-deployment.yml

@ -0,0 +1,18 @@
name: Publish docs via GitHub Pages
on:
push:
branches:
- master
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: mkdocs.yml
Loading…
Cancel
Save