Commits (2)
...@@ -46,16 +46,12 @@ mkdocs:bundle: ...@@ -46,16 +46,12 @@ mkdocs:bundle:
paths: paths:
- ./*.tar.gz - ./*.tar.gz
mkdocs:deploy: pages:
stage: deploy stage: deploy
tags: tags:
- production - docker
variables:
EXPORT_DIR: "/var/www/html/pages"
PROJECT_NAME: "dtt"
script: script:
- mkdir -p "$EXPORT_DIR/$PROJECT_NAME" - mv site public/
- cp -r site/* "$EXPORT_DIR/$PROJECT_NAME"
needs: needs:
- mkdocs:compile - mkdocs:compile
only: only:
...@@ -64,3 +60,6 @@ mkdocs:deploy: ...@@ -64,3 +60,6 @@ mkdocs:deploy:
changes: changes:
- docs/**/* - docs/**/*
- mkdocs.yml - mkdocs.yml
artifacts:
paths:
- public
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
This is the documentation repository for the Dockerized Testing Toolkit (DTT). This is the documentation repository for the Dockerized Testing Toolkit (DTT).
Documentation for this is done with GitLab Pages using MkDocs and is available here: Documentation for this is done with GitLab Pages using MkDocs and is available here:
[https://transfer.hft-stuttgart.de/pages/dtt/][pages-link] [https://transfer.hft-stuttgart.de/pages/dtt/documentation/][pages-link]
If you don't want to open the Webpage or it is not available for whatever reason, If you don't want to open the Webpage or it is not available for whatever reason,
the documentation root is in [docs/index.md][docs-root] the documentation root is in [docs/index.md][docs-root]
[docs-root]: docs/index.md [docs-root]: docs/index.md
[pages-link]: https://transfer.hft-stuttgart.de/pages/dtt/ [pages-link]: https://transfer.hft-stuttgart.de/pages/dtt/documentation/