Commit a9ae3387 authored by Andreas Böttger's avatar Andreas Böttger 😬

Update .gitlab-ci.yml

parent 730aebe6
Pipeline #13433 skipped with stage
......@@ -60,6 +60,8 @@ deploy:
- sudo docker run --rm -v $(pwd):/source docker.rz.tu-harburg.de:5000/docker/jekyll-glr:latest build
- 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 _site/* $SSH_USER@$HOST_NAME:/usr/share/nginx/html/production
# crontab
- sshpass -p "$SSH_PASSWD" ssh -p "$SSH_PORT" $SSH_USER@$HOST_NAME "crontab -l -u $SSH_USER | cat - crontab | crontab -u $SSH_USER -"
environment:
name: production
url: https://$PROXY_HOST_NAME/
\ 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