-
-
Notifications
You must be signed in to change notification settings - Fork 17
44 lines (35 loc) · 1.02 KB
/
build-docs.yml
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
40
41
42
43
44
name: Build Docs
on:
push:
branches:
- master
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Setup Python 🐍
uses: actions/setup-python@v3
with:
python-version: 3.x
- name: Install 📦️
run: pip install mkdocs-material
- name: pdf1 📦️
run: pip install mkdocs-with-pdf
- name: pdf2 📦️
run: pip install mkdocs-pdf-export-plugin
- name: install 📦️
run: pip install mkdocs-git-revision-date-localized-plugin
- name: install 📦️
run: pip install mkdocs-git-authors-plugin
- name: install 📦️
run: pip install mkdocs-git-committers-plugin-2
- name: Build 🔧
run: bash ./scripts/build-docs.sh
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: generated