-
-
Notifications
You must be signed in to change notification settings - Fork 117
36 lines (33 loc) · 1.01 KB
/
ci.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
name: ci
on:
push:
branches:
- master
- main
# At minute 0 past every 6th hour
# schedule:
# - cron: "0 */6 * * *"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
# - uses: actions/checkout@v2
# - name: Checkout submodules
# shell: bash
# run: |
# git config --global user.email "[email protected]"
# git config --global user.name "Your Name"
# git config --global pull.rebase false
# git submodule add https://github.com/swisskyrepo/HardwareAllTheThings docs
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: pip install mkdocs-material
- run: pip install mkdocs-git-revision-date-localized-plugin
- run: pip install mkdocs-git-committers-plugin
- run: pip install mkdocs-material[imaging]
- run: pip install mkdocs-meta-descriptions-plugin
- run: mkdocs gh-deploy --force