Commit 161369b1 authored by Øyvind gjesdal's avatar Øyvind gjesdal
Browse files

ignore search client from --delete flag

parent 48da09c0
Pipeline #48571 failed with stages
in 1 minute and 25 seconds
......@@ -29,7 +29,7 @@ deploy:
- eval $(ssh-agent -s)
- echo $MARCUS_TEST_KEY | base64 --decode | ssh-add -
script:
- rsync -r -e "ssh -o StrictHostKeyChecking=no" --delete ./ $MARCUS_USER@["$MARCUS_TEST_SERVER"]:"$DEST"
- rsync -r -e "ssh -o StrictHostKeyChecking=no" --exclude 'static/js/blackbox-search' - --delete ./ $MARCUS_USER@["$MARCUS_TEST_SERVER"]:"$DEST"
tags:
- spes
......@@ -40,7 +40,7 @@ deploy_prod:
- eval $(ssh-agent -s)
- echo $MARCUS_PROD_KEY | base64 --decode | ssh-add -
script:
- rsync -r -e "ssh -o StrictHostKeyChecking=no" --delete ./ $MARCUS_USER@["$MARCUS_SERVER"]:"$DEST"
- rsync -r -e "ssh -o StrictHostKeyChecking=no" --exclude 'static/js/blackbox-search' --delete ./ $MARCUS_USER@["$MARCUS_SERVER"]:"$DEST"
tags:
- spes
only:
......
Supports Markdown
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