Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ITBH
gitbook-lrmi-example
Commits
014a3902
Commit
014a3902
authored
Nov 02, 2017
by
Andreas Böttger
😬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
e56634cc
Pipeline
#14522
passed with stage
in 6 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
No files found.
.gitlab-ci.yml
View file @
014a3902
...
...
@@ -36,7 +36,7 @@ review:start:
-
sudo docker run --detach --rm --env VIRTUAL_HOST=${CI_ENVIRONMENT_SLUG} --name ${DOCKER_CONTAINER_NAME} ${REVIEW_IMAGE} ||
true
-
sudo docker run --rm -v $(pwd):/source ${BUILD_IMAGE} build
-
sudo docker cp ./_book/. ${DOCKER_CONTAINER_NAME}:/usr/share/nginx/html
-
mkdir -p ./nginx && echo '${REVIEW_CREDENTIALS}'
'
> ./nginx/credentials; sudo docker cp ./nginx/credentials ${DOCKER_CONTAINER_NAME}:/etc/nginx/htpasswd/credentials; rm ./nginx/credentials
-
mkdir -p ./nginx && echo '${REVIEW_CREDENTIALS}' > ./nginx/credentials; sudo docker cp ./nginx/credentials ${DOCKER_CONTAINER_NAME}:/etc/nginx/htpasswd/credentials; rm ./nginx/credentials
environment
:
name
:
review/${CI_COMMIT_REF_NAME}
url
:
http://${CI_ENVIRONMENT_SLUG}.collaborating.tuhh.de
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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