-
Notifications
You must be signed in to change notification settings - Fork 141
39 lines (31 loc) · 821 Bytes
/
Copy pathmonkeydocs.yml
File metadata and controls
39 lines (31 loc) · 821 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
31
32
33
34
35
36
37
38
39
name: ci docs
on:
workflow_dispatch:
push:
branches:
- main
jobs:
deploy:
name: Publish monkey365 docs
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel
python -m pip install -r requirements-docs.txt
- name: Deploy site
run: mkdocs gh-deploy --force