PPPAIMT-Crest/scripts/deploy.sh

11 lines
146 B
Bash
Executable File

#!/bin/sh
set -eu
cd /var/www/ppaimt-crest
git pull --ff-only
npm install
npm run build
npm run migrate
pm2 reload ecosystem.config.cjs
pm2 save