Commit 64ffdf82 authored by David Hrbáč's avatar David Hrbáč

CI to modify site_url

parent 89d06647
......@@ -48,7 +48,7 @@ mkdocs:
# get modules list from clusters
- bash scripts/get_modules.sh
#generate site_url
- [[ $CI_BUILD_REF_NAME != 'master' ]] && sed -i "s/\(site_url.*$\)/\1devel\/$CI_BUILD_REF_NAME\//" mkdocs.yml
- sed -i "s/\(site_url.*$\)/\1devel\/$CI_BUILD_REF_NAME\//" mkdocs.yml
# regenerate modules matrix
- python scripts/modules-matrix.py > docs.it4i/modules-matrix.md
- python scripts/modules-json.py > docs.it4i/modules-matrix.json
......
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