File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change 14
14
- name : Checkout repository
15
15
id : checkout
16
16
uses : actions/checkout@v5
17
-
18
17
- name : Set up Python
19
18
uses : actions/setup-python@v5
20
19
id : setup-python
@@ -23,36 +22,30 @@ jobs:
23
22
cache : " pip"
24
23
cache-dependency-path : " requirements/docs.txt"
25
24
check-latest : true
26
-
27
25
- name : Install dependencies
28
26
id : install-deps
29
27
run : |
30
28
python -m pip install -U pip
31
29
pip install ".[docs]"
32
30
pip install beautifulsoup4
33
-
34
31
- name : Build Sphinx HTML docs
35
32
id : build-sphinx
36
33
run : sphinx-build -b html docs docs/_build/html
37
-
38
34
- name : Export docs.json
39
35
id : generate-json
40
36
run : python scripts/docs_json_exporter.py
41
-
42
37
- name : Upload docs.json as artifact
43
38
44
39
id : artifact-upload
45
40
with :
46
41
name : Pycord Docs JSON
47
42
path : docs.json
48
43
retention-days : 1
49
-
50
44
- name : Show docs.json summary
51
45
run : |
52
46
head -n 40 docs.json || tail -n 40 docs.json
53
-
54
47
- name : Output artifact ID
55
48
run : |
56
49
echo "artifact-id=${{ steps.artifact-upload.outputs.artifact-id }}" >> $GITHUB_OUTPUT
57
50
echo "artifact-url=${{ steps.artifact-upload.outputs.artifact-url }}" >> $GITHUB_OUTPUT
58
- echo "::notice::Artifact uploaded: ${{ steps.artifact-upload.outputs.artifact-url }}"
51
+ echo "::notice::Artifact uploaded: ${{ steps.artifact-upload.outputs.artifact-url }}"
You can’t perform that action at this time.
0 commit comments