This commit is contained in:
parent
dd16f38ad4
commit
c70ac68e91
|
@ -51,13 +51,14 @@
|
||||||
"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 || 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",
|
"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 && certbot certonly --standalone --non-interactive --agree-tos --email kill-the-newsletter@leafac.com --domain kill-the-newsletter.com --domain www.kill-the-newsletter.com",
|
||||||
"ssh_options": [
|
"ssh_options": [
|
||||||
"ForwardAgent=yes",
|
"ForwardAgent=yes",
|
||||||
"StrictHostKeyChecking=no"
|
"StrictHostKeyChecking=no"
|
||||||
],
|
],
|
||||||
"TODO": [
|
"TODO": [
|
||||||
"https://certbot.eff.org/docs/using.html",
|
"https://certbot.eff.org/docs/using.html",
|
||||||
|
"--pre-hook '/root/www.kill-the-newsletter.com/current/node_modules/.bin/pm2 stop all' --post-hook '/root/www.kill-the-newsletter.com/current/node_modules/.bin/pm2 start all'",
|
||||||
"env NODE_ENV=production npm ci",
|
"env NODE_ENV=production npm ci",
|
||||||
"rsync",
|
"rsync",
|
||||||
"pm2 startup OR pm2 save",
|
"pm2 startup OR pm2 save",
|
||||||
|
|
Loading…
Reference in New Issue