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:
paths:
- ./*.tar.gz
mkdocs:deploy:
pages:
stage: deploy
tags:
- production
variables:
EXPORT_DIR: "/var/www/html/pages"
PROJECT_NAME: "dtt"
- docker
script:
- mkdir -p "$EXPORT_DIR/$PROJECT_NAME"
- cp -r site/* "$EXPORT_DIR/$PROJECT_NAME"
- mv site public/
needs:
- mkdocs:compile
only:
......@@ -64,3 +60,6 @@ mkdocs:deploy:
changes:
- docs/**/*
- mkdocs.yml
artifacts:
paths:
- public
Supports Markdown
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