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: ...@@ -50,15 +50,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"
script: script:
- mkdir -p "$EXPORT_DIR/$CI_PROJECT_NAME" - mv site public/
- cp -r site/* "$EXPORT_DIR/$CI_PROJECT_NAME"
needs: needs:
- mkdocs:compile - mkdocs:compile
only: only:
...@@ -69,3 +66,6 @@ mkdocs:deploy: ...@@ -69,3 +66,6 @@ mkdocs:deploy:
- mkdocs.yml - mkdocs.yml
- CHANGELOG.md - CHANGELOG.md
- LICENSE.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