mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-28 19:13:28 +00:00
Use if statement for post_build control flow
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
This commit is contained in:
parent
7ce8fba3cb
commit
6a89a04ffe
@ -15,8 +15,10 @@ build:
|
|||||||
- make apidoc
|
- make apidoc
|
||||||
- breathe-apidoc -o docs/api apidoc/xml
|
- breathe-apidoc -o docs/api apidoc/xml
|
||||||
post_build:
|
post_build:
|
||||||
- '[ "$READTHEDOCS_VERSION" != "development" ] || "$READTHEDOCS_VIRTUALENV_PATH/bin/rtd" projects "Mbed TLS API" redirects sync --wet-run -f docs/redirects.yaml'
|
- |
|
||||||
|
if [ "$READTHEDOCS_VERSION" = "development" ]; then
|
||||||
|
"$READTHEDOCS_VIRTUALENV_PATH/bin/rtd" projects "Mbed TLS API" redirects sync --wet-run -f docs/redirects.yaml
|
||||||
|
fi
|
||||||
|
|
||||||
# Build documentation in the docs/ directory with Sphinx
|
# Build documentation in the docs/ directory with Sphinx
|
||||||
sphinx:
|
sphinx:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user