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

refactor(ci): switch to gitlab standard pages deployment

parent 2966d65c
......@@ -50,15 +50,12 @@ mkdocs:bundle:
paths:
- ./*.tar.gz
mkdocs:deploy:
pages:
stage: deploy
tags:
- production
variables:
EXPORT_DIR: "/var/www/html/pages"
- docker
script:
- mkdir -p "$EXPORT_DIR/$CI_PROJECT_NAME"
- cp -r site/* "$EXPORT_DIR/$CI_PROJECT_NAME"
- mv site public/
needs:
- mkdocs:compile
only:
......@@ -69,3 +66,6 @@ mkdocs:deploy:
- mkdocs.yml
- CHANGELOG.md
- LICENSE.md
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