Commit 07db5945 authored by Axel Dürkop's avatar Axel Dürkop
Browse files

Update .gitlab-ci.yml

parent 52a8b1a8
Pipeline #6478 passed with stages
in 25 seconds
......@@ -68,11 +68,10 @@ deploy:
- master
tags:
- production
script:
- sshpass -p "$SSH_PASSWD" ssh -p "$SSH_PORT" $SSH_USER@$HOST_NAME "mkdir -p /usr/share/nginx/html/production"
- sshpass -p "$SSH_PASSWD" scp -P "$SSH_PORT" -r _book/* $SSH_USER@$HOST_NAME:/usr/share/nginx/html/production
- sshpass -p "$SSH_PASSWD" scp -P "$SSH_PORT" -r book_pdf $SSH_USER@$HOST_NAME:/usr/share/nginx/html/production
environment:
name: production
#url: http://$HOST_NAME$COLON$HTTP_PORT/production/
url: https://$PROXY_HOST_NAME/$CI_PROJECT_PATH/
\ No newline at end of file
script:
- sshpass -p "$SSH_PASSWD" ssh -p "$SSH_PORT" $SSH_USER@$HOST_NAME "mkdir -p /usr/share/nginx/html/production"
- sshpass -p "$SSH_PASSWD" scp -P "$SSH_PORT" -r _book/* $SSH_USER@$HOST_NAME:/usr/share/nginx/html/production
environment:
name: production
url: http://$HOST_NAME$COLON$HTTP_PORT/production/
#url: https://fizban05.rz.tu-harburg.de/$CI_PROJECT_PATH/
\ No newline at end of file
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