This commit is contained in:
Leandro Facchinetti 2020-03-20 15:20:30 -04:00
parent ca11c560b5
commit dd16f38ad4
1 changed files with 3 additions and 2 deletions

View File

@ -51,7 +51,7 @@
"ref": "origin/master", "ref": "origin/master",
"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": "ssh -o StrictHostKeyChecking=no git@github.com; apt-get update; apt-get install -y build-essential software-properties-common; curl -sL https://deb.nodesource.com/setup_13.x | bash -; add-apt-repository universe; add-apt-repository ppa:certbot/certbot; apt-get install -y nodejs certbot", "pre-setup": "(ssh -o StrictHostKeyChecking=no git@github.com || true) && apt-get update && apt-get install -y build-essential software-properties-common && (curl -sL https://deb.nodesource.com/setup_13.x | bash -) && add-apt-repository universe && add-apt-repository ppa:certbot/certbot && apt-get install -y nodejs certbot",
"ssh_options": [ "ssh_options": [
"ForwardAgent=yes", "ForwardAgent=yes",
"StrictHostKeyChecking=no" "StrictHostKeyChecking=no"
@ -63,7 +63,8 @@
"pm2 startup OR pm2 save", "pm2 startup OR pm2 save",
"pm2 start env.js", "pm2 start env.js",
"https://pm2.keymetrics.io/docs/usage/deployment/", "https://pm2.keymetrics.io/docs/usage/deployment/",
"https://pm2.keymetrics.io/docs/usage/startup/" "https://pm2.keymetrics.io/docs/usage/startup/",
"host: kill-the-newsletter.com"
], ],
"env": { "env": {
"NODE_ENV": "production" "NODE_ENV": "production"