mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 17:28:58 +00:00
[ci] use Makefile
This commit is contained in:
@@ -15,8 +15,7 @@ jobs:
|
|||||||
- master
|
- master
|
||||||
- stable
|
- stable
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- uses: actions/checkout@v3
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
with:
|
||||||
ref: ${{ matrix.branch }}
|
ref: ${{ matrix.branch }}
|
||||||
|
|
||||||
@@ -25,10 +24,8 @@ jobs:
|
|||||||
sudo pip3 install -r requirements.txt
|
sudo pip3 install -r requirements.txt
|
||||||
sudo pip3 install codespell
|
sudo pip3 install codespell
|
||||||
|
|
||||||
# Build the HTML to upload it.
|
- name: Sphinx build HTML
|
||||||
- name: Sphinx build
|
run: make SPHINXOPTS='--color' html
|
||||||
run: |
|
|
||||||
sphinx-build --color -d _build/doctrees . _build/html
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -25,5 +25,4 @@ jobs:
|
|||||||
|
|
||||||
# Use dummy builder to improve performance as we don't need the generated HTML in this workflow.
|
# Use dummy builder to improve performance as we don't need the generated HTML in this workflow.
|
||||||
- name: Sphinx build
|
- name: Sphinx build
|
||||||
run: |
|
run: make SPHINXOPTS='--color -W' dummy
|
||||||
sphinx-build --color -b dummy -d _build/doctrees -W . _build/html
|
|
||||||
|
|||||||
Reference in New Issue
Block a user