This commit is contained in:
parent
9931c2cb8c
commit
466f6058d0
|
@ -12,6 +12,5 @@ jobs:
|
||||||
with:
|
with:
|
||||||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
- run: |
|
- run: npm run deploy
|
||||||
true
|
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
{
|
{
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "concurrently \"tsc --watch\" \"nodemon lib\"",
|
"start": "concurrently \"tsc --watch\" \"nodemon lib\"",
|
||||||
"test": "tsc && jest && prettier --check 'src/**'"
|
"test": "tsc && jest && prettier --check 'src/**'",
|
||||||
|
"deploy": "pm2 deploy production"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"crypto-random-string": "^3.2.0",
|
"crypto-random-string": "^3.2.0",
|
||||||
|
|
Loading…
Reference in New Issue