建立推送机制 webhook
This commit is contained in:
@@ -50,5 +50,16 @@ module.exports = {
|
||||
instances: 1,
|
||||
exec_mode: 'fork',
|
||||
},
|
||||
{
|
||||
name: 'dukang-deploy-webhook',
|
||||
cwd: `${APP_ROOT}/deploy`,
|
||||
script: 'webhook-server.mjs',
|
||||
interpreter: 'node',
|
||||
instances: 1,
|
||||
exec_mode: 'fork',
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user