Commit 4bd7d514 authored by ØyvindG's avatar ØyvindG
Browse files

change to delete admin cache

parent 19b24b8a
Pipeline #53397 passed with stages
in 1 minute and 50 seconds
......@@ -41,7 +41,7 @@ deploy_prod:
script:
- ssh -o StrictHostKeyChecking=no -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"
- ssh $MARCUS_USER@"$MARCUS_SERVER_IPV6" "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-admin/cache -regex .+ -type f -delete"
tags:
- spes
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