From cfcfdc379621f8586041ec37b2968af1c5e4ba25 Mon Sep 17 00:00:00 2001 From: MatievisTheKat Date: Thu, 2 Jul 2020 15:29:03 +0200 Subject: [PATCH] update deploy.yml --- .github/workflows/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d681ce2..848795e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,6 +11,7 @@ jobs: - uses: actions/checkout@master - uses: actions/setup-node@master with: - node-version: 12 + node-version: 14 - run: curl -d AUTH=${{ secrets.API_AUTH }} -d "command=git pull" https://api.bort.matievisthekat.dev/api/v1/exec + - run: curl -d AUTH=${{ secrets.API_AUTH }} -d "command=npm i" https://api.bort.matievisthekat.dev/api/v1/exec - run: curl -d AUTH=${{ secrets.API_AUTH }} -d "command=pm2 restart bort" https://api.bort.matievisthekat.dev/api/v1/exec