revert: revert to yarn to deploy

This commit is contained in:
2023-09-14 21:08:33 -06:00
parent f5a9a88f84
commit f11ae1c4f3
11 changed files with 6639 additions and 221 deletions
+3 -4
View File
@@ -2,9 +2,8 @@ module.exports = {
apps: [
{
name: process.env.APP_NAME || 'entgamers-website',
script: 'bun',
script: 'yarn',
args: 'run start',
interpreter: '~/.bun/bin/bun',
env: {
NODE_ENV: 'production',
PORT: process.env.PORT || 3000,
@@ -20,7 +19,7 @@ module.exports = {
ref: 'origin/production',
repo: 'https://github.com/SrJuggernaut/entgamers_pro',
path: process.env.DEPLOY_PATH,
'post-deploy': 'pm2 startOrRestart ecosystem.config.js',
'post-deploy': 'pm2 --silent startOrRestart ecosystem.config.js',
env: {
APP_NAME: process.env.APP_NAME,
PORT: process.env.PORT,
@@ -34,7 +33,7 @@ module.exports = {
ref: 'origin/preview',
repo: 'https://github.com/SrJuggernaut/entgamers_pro',
path: process.env.DEPLOY_PATH,
'post-deploy': 'pm2 startOrRestart ecosystem.config.js',
'post-deploy': 'pm2 --silent startOrRestart ecosystem.config.js',
env: {
APP_NAME: process.env.APP_NAME,
PORT: process.env.PORT,