Change command-line flag

This commit is contained in:
Leandro Facchinetti 2020-07-24 09:03:49 +01:00
parent 80ae8fab52
commit e9ce7e77a2
1 changed files with 2 additions and 2 deletions

View File

@ -67,8 +67,8 @@
"repo": "git@github.com:leafac/www.kill-the-newsletter.com.git", "repo": "git@github.com:leafac/www.kill-the-newsletter.com.git",
"path": "/root/www.kill-the-newsletter.com", "path": "/root/www.kill-the-newsletter.com",
"pre-setup": "(curl -sL https://deb.nodesource.com/setup_14.x | bash -) && apt install -y nodejs build-essential && (ssh -o StrictHostKeyChecking=no git@github.com || true)", "pre-setup": "(curl -sL https://deb.nodesource.com/setup_14.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", "post-setup": "npm ci --production && npx pm2 startup",
"post-deploy": "env NODE_ENV=production npm ci && npx pm2 startOrRestart package.json && npx pm2 save", "post-deploy": "npm ci --production && npx pm2 startOrRestart package.json && npx pm2 save",
"ssh_options": [ "ssh_options": [
"ForwardAgent=yes", "ForwardAgent=yes",
"StrictHostKeyChecking=no" "StrictHostKeyChecking=no"