Verified Commit e0d51277 authored by Lukas Wiest's avatar Lukas Wiest 🚂
Browse files

refactor(ci): switch to gitlab standard pages deployment

parent ba3b82fd
...@@ -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
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