mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
24 lines
583 B
YAML
24 lines
583 B
YAML
|
name: Deploy
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- main
|
||
|
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
|
||
|
configfile: '/mkdocs.yml' # option
|
||
|
- name: Deploy
|
||
|
uses: peaceiris/actions-gh-pages@v3
|
||
|
with:
|
||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||
|
publish_dir: ./site
|