-
-
Notifications
You must be signed in to change notification settings - Fork 202
30 lines (28 loc) · 715 Bytes
/
deploy_docs.yml
File metadata and controls
30 lines (28 loc) · 715 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Deploy Docs
on:
push:
branches: [ main ]
paths:
- docs/**
workflow_dispatch:
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: 3.12
- name: Install Dependencies
run: pip install -r docs/requirements.txt
- name: Setup Docs Deploy
run: |
git config --global user.name "Docs Deploy"
git config --global user.email "support@kitchenowl.org"
- name: Build Docs Website
run: mike deploy --push dev
working-directory: docs