This commit is contained in:
Leandro Facchinetti 2020-03-20 13:18:14 -04:00
parent 9931c2cb8c
commit 466f6058d0
2 changed files with 3 additions and 3 deletions

View File

@ -12,6 +12,5 @@ jobs:
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
if: github.ref == 'refs/heads/master'
- run: |
true
- run: npm run deploy
if: github.ref == 'refs/heads/master'

View File

@ -1,7 +1,8 @@
{
"scripts": {
"start": "concurrently \"tsc --watch\" \"nodemon lib\"",
"test": "tsc && jest && prettier --check 'src/**'"
"test": "tsc && jest && prettier --check 'src/**'",
"deploy": "pm2 deploy production"
},
"dependencies": {
"crypto-random-string": "^3.2.0",