From 2ca2350d165fa429f73bde98148e360d9d515324 Mon Sep 17 00:00:00 2001 From: Leandro Facchinetti Date: Sat, 21 Mar 2020 13:35:12 -0400 Subject: [PATCH] . --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a154763..a7d3f27 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "path": "/root/www.kill-the-newsletter.com", "pre-setup": "(curl -sL https://deb.nodesource.com/setup_13.x | bash -) && apt install -y nodejs build-essential && (ssh -o StrictHostKeyChecking=no git@github.com || true)", "post-setup": "env NODE_ENV=production npm ci && npx pm2 startup", - "pre-deploy-local": "rsync -av --delete lib/ root@kill-the-newsletter.com:www.kill-the-newsletter.com/current/lib/", + "pre-deploy-local": "(ssh -o StrictHostKeyChecking=no root@kill-the-newsletter.com || true) && rsync -av --delete lib/ root@kill-the-newsletter.com:www.kill-the-newsletter.com/current/lib/", "post-deploy": "env NODE_ENV=production npm ci && npx pm2 startOrRestart package.json && npx pm2 save", "ssh_options": [ "ForwardAgent=yes",