Skip to content
Snippets Groups Projects
Verified Commit 6e93aa10 authored by Martin Weise's avatar Martin Weise
Browse files

Replace in all files

parent 813bc051
Branches
Tags
3 merge requests!237Resolve "Proxy settings",!235Master,!233Master
......@@ -645,8 +645,8 @@ docs-latest:
- git fetch && git checkout master
- pip install -r ./requirements.txt
- mkdir -p ./final/{latest,1.3}
- find ./.docs -type f -exec sed -i -e "s/__TAG__/latest/g" {} \;
- find ./.docs -type f -exec sed -i -e "s/__APPVERSION__/latest/g" {} \;
- find . -type f -exec sed -i -e "s/__TAG__/latest/g" {} \;
- find . -type f -exec sed -i -e "s/__APPVERSION__/latest/g" {} \;
- mkdocs build && cp -r ./site ./final/latest
- cp ./.docs/redirect.html ./final/index.html
- cp ./.docs/redirect.html ./final/1.3/index.html
......@@ -706,8 +706,8 @@ docs-1.4:
- pip install -r ./.docs/requirements.txt
- wget https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/-/raw/dev/.docs/overrides/main.html -O .docs/overrides/main.html -q
- mkdir -p ./final
- find .docs -type f -exec sed -i -e "s/__TAG__/${APP_VERSION}/g" {} \;
- find .docs -type f -exec sed -i -e "s/__APPVERSION__/${APP_VERSION}/g" {} \;
- find . -type f -exec sed -i -e "s/__TAG__/${APP_VERSION}/g" {} \;
- find . -type f -exec sed -i -e "s/__APPVERSION__/${APP_VERSION}/g" {} \;
- mkdocs build && cp -r ./site ./final/${APP_VERSION}
- cp -r ./swagger/${APP_VERSION} ./final/${APP_VERSION}/swagger
cache:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment