-
Notifications
You must be signed in to change notification settings - Fork 12
29 lines (28 loc) · 907 Bytes
/
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
name: pulbish site on commits to master
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: pip install mkdocs-material
- run: pip install "mkdocs-material[imaging]"
- run: pip install mkdocs-mermaid2-plugin
- run: pip install mkdocs-awesome-pages-plugin
# - run: pip install mkdocs-redirects
- run: mkdir local_public
- run: mkdocs build --clean -d ./local_public/
- uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.DEPOLY_TO_RTFM_SITE}}
external_repository: synshop/rtfm-generated
publish_dir: ./local_public/
user_name: monitoring-synshop-bot
user_email: monitoring@synshop.org
publish_branch: master