InvokeAI/.github/workflows/mkdocs-flow.yml

24 lines
585 B
YAML
Raw Normal View History

2022-09-13 23:15:33 +00:00
name: Deploy
on:
push:
branches:
- mkdocs
jobs:
build:
name: Deploy docs to GitHub Pages
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build
uses: Tiryoh/actions-mkdocs@v0
with:
mkdocs_version: 'latest' # option
requirements: '/requirements-mkdocs.txt' # option
2022-09-13 23:38:02 +00:00
configfile: '/mkdocs.yml' # option
2022-09-13 23:15:33 +00:00
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site