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

Update .gitlab-ci.yml

parent a9ae3387
Pipeline #13434 skipped with stage
......@@ -61,7 +61,8 @@ deploy:
- 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 -"
- sshpass -p "$SSH_PASSWD" scp -P "$SSH_PORT" crontab $SSH_USER@$HOST_NAME:/home/$SSH_USER
- sshpass -p "$SSH_PASSWD" ssh -p "$SSH_PORT" $SSH_USER@$HOST_NAME "crontab -l -u $SSH_USER | cat - /home/$SSH_USER/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