feat: moving deployments to bun

This commit is contained in:
2023-09-14 14:14:12 -06:00
parent b26d5d8eba
commit ce87aa5ee3
6 changed files with 23 additions and 64 deletions
+1 -3
View File
@@ -2,7 +2,7 @@ module.exports = {
apps: [
{
name: process.env.APP_NAME || 'entgamers-website',
script: 'npm',
script: 'bun',
args: 'start',
env: {
NODE_ENV: 'production',
@@ -19,7 +19,6 @@ module.exports = {
ref: 'origin/production',
repo: 'https://github.com/SrJuggernaut/entgamers_pro',
path: process.env.DEPLOY_PATH,
'pre-deploy': 'yarn install && yarn run build',
'post-deploy': 'pm2 startOrRestart ecosystem.config.js',
env: {
APP_NAME: process.env.APP_NAME,
@@ -34,7 +33,6 @@ module.exports = {
ref: 'origin/preview',
repo: 'https://github.com/SrJuggernaut/entgamers_pro',
path: process.env.DEPLOY_PATH,
'pre-deploy': 'yarn install && yarn run build',
'post-deploy': 'pm2 startOrRestart ecosystem.config.js',
env: {
APP_NAME: process.env.APP_NAME,