This commit is contained in:
@@ -2,7 +2,7 @@ name: Deploy to VPS
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
branches: [master]
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
@@ -23,7 +23,7 @@ jobs:
|
||||
script: |
|
||||
set -e
|
||||
cd /var/www/highland
|
||||
git pull origin main
|
||||
git pull origin master
|
||||
npm ci
|
||||
npm run build
|
||||
pm2 restart highland --update-env
|
||||
|
||||
Reference in New Issue
Block a user