Commit aadd3c54 authored by Thomas Bella's avatar Thomas Bella

Don't use port 17022 for tests

parent cdb73f63
Pipeline #804 failed with stage
in 11 seconds
......@@ -11,7 +11,7 @@ demo:
- echo "$SSH_PUBLIC_KEY" > ~/.ssh/id_rsa.pub
- chmod 700 ~/.ssh/id_rsa*
- echo -e "Host *\n\tStrictHostKeyChecking no\n\tIdentityFile ~/.ssh/id_rsa\n\tVerifyHostKeyDNS yes\n\n" > ~/.ssh/config
# - rsync -avuz --delete --exclude=config.inc.php --exclude=monitor.sqlite -e 'ssh -i ~/.ssh/id_rsa -p 17022' $CI_PROJECT_DIR/ www-data@10.20.0.1:/var/vhosts/certmonitor
- ssh -i ~/.ssh/id_rsa -p 17022 www-data@10.20.0.1 "cd /var/vhosts/certmonitor; git fetch origin master; git reset --hard origin/master"
# - rsync -avuz --delete --exclude=config.inc.php --exclude=monitor.sqlite -e 'ssh -i ~/.ssh/id_rsa' $CI_PROJECT_DIR/ www-data@10.20.0.1:/var/vhosts/certmonitor
- ssh -i ~/.ssh/id_rsa www-data@10.20.0.1 "cd /var/vhosts/certmonitor; git fetch origin master; git reset --hard origin/master"
only:
- master
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