Commit a3194aef authored by siick's avatar siick

test CI

parent da862755
Pipeline #743 failed with stage
in 13 seconds
#before_script:
#- apt-get update -qq
before_script:
- apt-get update -qq
- apt-get install -qq git
# Setup SSH deploy keys
- 'which ssh-agent || ( apt-get install -qq openssh-client )'
- eval $(ssh-agent -s)
- echo "$PKEY" | tr -d '\r' | ssh-add -
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
deploy_staging:
type: deploy
......@@ -7,6 +15,6 @@ deploy_staging:
name: production
url: $URL
script:
- ssh -i $PKEY $USER@$URL -p $PORT "cd /var/www/html/services && git pull origin master && exit"
- ssh $USER@$URL -p $PORT "cd /var/www/html/services && git pull origin master && exit"
only:
- master
\ No newline at end of file
- 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