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

Redirect

parent 7d1dd805
Branches
Tags
No related merge requests found
...@@ -3,16 +3,16 @@ ...@@ -3,16 +3,16 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Redirect Notice</title> <title>Redirect Notice</title>
<meta http-equiv="Refresh" content="0; url='/infrastructures/dbrepo/${DOC_VERSION}/'" /> <meta http-equiv="Refresh" content="0; url='/infrastructures/dbrepo/DOC_VERSION/'" />
</head> </head>
<body> <body>
<h1>Redirect Notice</h1> <h1>Redirect Notice</h1>
<p> <p>
This page should automatically open the documentation for version <code>${DOC_VERSION}</code>. In case this page does not load the site is This page should automatically open the documentation for version <code>DOC_VERSION</code>. In case this page does not load the site is
available at: available at:
</p> </p>
<p> <p>
<a href="/infrastructures/dbrepo/${DOC_VERSION}/">/infrastructures/dbrepo/${DOC_VERSION}/</a> <a href="/infrastructures/dbrepo/DOC_VERSION/">/infrastructures/dbrepo/DOC_VERSION/</a>
</p> </p>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -476,8 +476,8 @@ release-docs: ...@@ -476,8 +476,8 @@ release-docs:
- "cp .docs/.swagger/custom.css ./final/${DOC_VERSION}/rest/custom.css" # swagger - "cp .docs/.swagger/custom.css ./final/${DOC_VERSION}/rest/custom.css" # swagger
- "cp -r ./site/* ./final/${DOC_VERSION}" # mkdocs - "cp -r ./site/* ./final/${DOC_VERSION}" # mkdocs
- "cp .docker/dist.tar.gz ./final/${APP_VERSION}/dist.tar.gz" # dist - "cp .docker/dist.tar.gz ./final/${APP_VERSION}/dist.tar.gz" # dist
- "cp .docs/index.html.tpl ./final/${APP_VERSION}/index.html" # redirect patch docs - "cp .docs/index.html.tpl ./final/index.html" # redirect patch docs
- sed -i "s/\${DOC_VERSION}/${DOC_VERSION}/g" ./final/${APP_VERSION}/index.html - sed -i "s/DOC_VERSION/$DOC_VERSION/g" ./final/index.html
- "bash ./.gitlab/gen-badge.sh" - "bash ./.gitlab/gen-badge.sh"
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
- "mkdir -p /root/.ssh" - "mkdir -p /root/.ssh"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment