-
Notifications
You must be signed in to change notification settings - Fork 11
52 lines (41 loc) · 1.17 KB
/
deploy_dev_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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
name: Deploy Development Documentation
on:
push:
branches:
- main
workflow_dispatch:
concurrency:
group: ${{ github.action_path }}-${{ github.ref }}-dev-docs
cancel-in-progress: false
jobs:
docs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.8"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/[email protected]
with:
fetch-depth: 0
fetch-tags: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
architecture: "x64"
- name: Install Poetry
run: pip install poetry==1.8.4
- name: Install base dependencies
run: poetry install --no-cache
- name: Prepare environment for docs deploy
run: poetry run poe prepare-deploy-docs
- name: Configure Git
run: |
git config user.name github-actions
git config user.email [email protected]
- name: Deploy documentation
run: poetry run python -m scripts.deploy_docs --is-dev