Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Dockerized Testing Toolkit
Documentation
Commits
e0d51277
Verified
Commit
e0d51277
authored
Mar 14, 2021
by
Lukas Wiest
🚂
Browse files
refactor(ci): switch to gitlab standard pages deployment
parent
ba3b82fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci-mkdocs.yml
View file @
e0d51277
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment