Skip to content

Commit 5233bd1

Browse files
committed
chore(actions): minor change so pre-commit can fix
1 parent 7309e1c commit 5233bd1

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/docs-json-export.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ jobs:
1414
- name: Checkout repository
1515
id: checkout
1616
uses: actions/checkout@v5
17-
1817
- name: Set up Python
1918
uses: actions/setup-python@v5
2019
id: setup-python
@@ -23,36 +22,30 @@ jobs:
2322
cache: "pip"
2423
cache-dependency-path: "requirements/docs.txt"
2524
check-latest: true
26-
2725
- name: Install dependencies
2826
id: install-deps
2927
run: |
3028
python -m pip install -U pip
3129
pip install ".[docs]"
3230
pip install beautifulsoup4
33-
3431
- name: Build Sphinx HTML docs
3532
id: build-sphinx
3633
run: sphinx-build -b html docs docs/_build/html
37-
3834
- name: Export docs.json
3935
id: generate-json
4036
run: python scripts/docs_json_exporter.py
41-
4237
- name: Upload docs.json as artifact
4338
uses: actions/[email protected]
4439
id: artifact-upload
4540
with:
4641
name: Pycord Docs JSON
4742
path: docs.json
4843
retention-days: 1
49-
5044
- name: Show docs.json summary
5145
run: |
5246
head -n 40 docs.json || tail -n 40 docs.json
53-
5447
- name: Output artifact ID
5548
run: |
5649
echo "artifact-id=${{ steps.artifact-upload.outputs.artifact-id }}" >> $GITHUB_OUTPUT
5750
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 }}"

0 commit comments

Comments
 (0)