BallanceBlenderHelper/.github/workflows/main.yml

28 lines
641 B
YAML
Raw Normal View History

2024-01-08 23:28:22 +08:00
name: Publish docs via GitHub Pages
on:
push:
branches:
- master
2024-01-08 23:28:22 +08:00
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout master
2024-01-08 23:28:22 +08:00
uses: actions/checkout@v4
with:
ref: master
2024-01-09 20:52:51 +08:00
- name: Install MkDocs
run: |
echo 'mkdocs' > requirements.txt
echo 'pymdown-extensions' >> requirements.txt
2024-01-08 23:28:22 +08:00
- name: Deploy docs
2024-01-09 20:52:51 +08:00
uses: mhausenblas/mkdocs-deploy-gh-pages@nomaterial
2024-01-08 23:28:22 +08:00
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CONFIG_FILE: docs/mkdocs.yml
# GITHUB_DOMAIN: github.myenterprise.com