-
Notifications
You must be signed in to change notification settings - Fork 4
34 lines (34 loc) · 984 Bytes
/
docs.yaml
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
name: docs
on:
push:
branches:
- master
env:
DOIT_NUM_PROCESS: 0
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v2
- name: install python
uses: actions/setup-python@v1
with:
python-version: 3.12
- name: install requirements.pip.dev.txt
run: |
python -m pip install --upgrade pip
pip install poetry
poetry config virtualenvs.create false --local
poetry install
- name: doit docs
run: doit docs
- name: remove gitignore
run: rm .gitignore
- name: deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .
publish_branch: rtd
force_orphan: true