20 lines
No EOL
436 B
YAML
20 lines
No EOL
436 B
YAML
name: Publish docs via GitHub Pages
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build:
|
|
name: Deploy docs
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout main
|
|
uses: actions/checkout@v1
|
|
|
|
- name: Deploy docs
|
|
uses: mhausenblas/mkdocs-deploy-gh-pages@master
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
CONFIG_FILE: docs/mkdocs.yml
|
|
EXTRA_PACKAGES: build-base |