-
Notifications
You must be signed in to change notification settings - Fork 2
56 lines (53 loc) · 1.63 KB
/
Copy pathdocs.yml
File metadata and controls
56 lines (53 loc) · 1.63 KB
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
53
54
55
56
name: docs
on:
push:
branches:
- master
paths:
- "README.md"
- "docs/**"
- ".github/workflows/docs.yml"
workflow_dispatch:
permissions:
contents: read
jobs:
build-docs:
runs-on: ubuntu-latest
environment: docs
steps:
- name: Check out repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Set up Python
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38
with:
python-version: "3.12"
- name: Install workspace packages
run: |
python -m pip install \
-e pkgs/tigrcorn-core \
-e pkgs/tigrcorn-config \
-e pkgs/tigrcorn-asgi \
-e pkgs/tigrcorn-contract \
-e pkgs/tigrcorn-transports \
-e pkgs/tigrcorn-protocols \
-e pkgs/tigrcorn-http \
-e pkgs/tigrcorn-security \
-e pkgs/tigrcorn-runtime \
-e pkgs/tigrcorn-static \
-e pkgs/tigrcorn-observability \
-e pkgs/tigrcorn-compat \
-e pkgs/tigrcorn-certification
- name: Install project
run: python -m pip install -e ".[certification,dev]"
- name: Generate release automation pages
run: python tools/cert/release_auto.py
- name: Package docs artifact
run: |
mkdir -p .artifacts/docs
cp README.md .artifacts/docs/
cp -R docs .artifacts/docs/docs
- name: Upload docs artifact
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
with:
name: docs-bundle
path: .artifacts/docs