This commit is contained in:
Leandro Facchinetti 2020-04-30 09:57:37 -04:00
parent 38919d1386
commit 919a20d016
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-node@v1 - uses: actions/setup-node@v1
with: with:
node-version: "13.x" node-version: "14.x"
- run: npm install-ci-test - run: npm install-ci-test
- uses: webfactory/ssh-agent@v0.2.0 - uses: webfactory/ssh-agent@v0.2.0
with: with:

View File

@ -64,7 +64,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": "(curl -sL https://deb.nodesource.com/setup_13.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": "env NODE_ENV=production npm ci && npx pm2 startup",
"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/", "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", "post-deploy": "env NODE_ENV=production npm ci && npx pm2 startOrRestart package.json && npx pm2 save",