-
Notifications
You must be signed in to change notification settings - Fork 23
44 lines (36 loc) · 1.06 KB
/
docs-action.yml
File metadata and controls
44 lines (36 loc) · 1.06 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
name: Docs
on:
workflow_call:
inputs:
changed-files:
required: true
type: string
description: JSON string containing information about changed files
jobs:
docs:
name: Build Relenv Documentation
runs-on: ubuntu-24.04
steps:
- name: Setup Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install System Deps
run: |
sudo apt-get update
sudo apt-get install -y enchant-2 git gcc imagemagick make zlib1g-dev libc-dev libffi-dev g++ libxml2 libxml2-dev libxslt-dev libcurl4-openssl-dev libssl-dev libgnutls28-dev xz-utils
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Nox
run: |
python -m pip install --upgrade pip
pip install nox
- name: Build Docs
run: |
nox --forcecolor -e docs
- name: Store Generated Documentation
uses: actions/upload-artifact@v4
with:
name: relenv-html-docs
path: docs/build