Commit fee26e63 authored by ØyvindG's avatar ØyvindG
Browse files

debug CI connection, tested public/private

parent 4eec965f
Pipeline #53391 passed with stages
in 1 minute and 39 seconds
...@@ -39,8 +39,9 @@ deploy_prod: ...@@ -39,8 +39,9 @@ deploy_prod:
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
- echo $MARCUS_PROD_KEY | base64 --decode | ssh-add - - echo $MARCUS_PROD_KEY | base64 --decode | ssh-add -
script: script:
- ssh -6 $MARCUS_USER@"$MARCUS_SERVER_IPV6" echo 'hello'
- rsync -v -r -e "ssh -o StrictHostKeyChecking=no" --exclude 'static/js/blackbox-search' --delete ./ $MARCUS_USER@"[$MARCUS_SERVER_IPV6]":"$DEST" - rsync -v -r -e "ssh -o StrictHostKeyChecking=no" --exclude 'static/js/blackbox-search' --delete ./ $MARCUS_USER@"[$MARCUS_SERVER_IPV6]":"$DEST"
- ssh $MARCUS_USER@"$MARCUS_SERVER" "sudo /usr/bin/find /var/www/html/marcus-prod/cache -regex .+ -type f -delete" - ssh $MARCUS_USER@"$MARCUS_SERVER_IPV6" "sudo /usr/bin/find /var/www/html/marcus-prod/cache -regex .+ -type f -delete"
tags: tags:
- spes - spes
only: only:
......
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