Verified Commit d86d6394 authored by Huste, Tobias (FWCC) - 111645's avatar Huste, Tobias (FWCC) - 111645
Browse files

ci: build docs only for final releases and master

parent 39c7f752
Pipeline #7954 passed with stages
in 13 minutes and 16 seconds
......@@ -234,16 +234,16 @@ test-docs:
stage: test
<<: *docs
script:
# Build tags with pattern v* and master branch
- sphinx-versioning build -T -W v* -w master docs docs/_build/html
# Build tags with pattern v*, no alpha or beta tags, and master branch
- sphinx-versioning build -T -W "^v[0-9\.]*$" -w master docs docs/_build/html
pages:
stage: deploy
<<: *docs
script:
- mkdir .public
# Build tags with pattern v* and master branch
- sphinx-versioning build -T -W v* -w master docs docs/_build/html
# Build tags with pattern v*, no alpha or beta tags, and master branch
- sphinx-versioning build -T -W "^v[0-9\.]*$" -w master docs docs/_build/html
- mv docs/_build/html/* .public/
- mv .public public
artifacts:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment