mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-09 23:48:36 +01:00
update deploy script
This commit is contained in:
@@ -30,9 +30,9 @@ async function main() {
|
|||||||
console.log('Creating zip file');
|
console.log('Creating zip file');
|
||||||
const archive = createZip(TMP_PATH + '/' + ZIP_NAME);
|
const archive = createZip(TMP_PATH + '/' + ZIP_NAME);
|
||||||
archive.directory(LOCAL_PATH + '/.output', '/.output');
|
archive.directory(LOCAL_PATH + '/.output', '/.output');
|
||||||
|
|
||||||
archive.file(LOCAL_PATH + '/ecosystem.config.js', { name: '/ecosystem.config.js' })
|
archive.file(LOCAL_PATH + '/ecosystem.config.js', { name: '/ecosystem.config.js' })
|
||||||
|
|
||||||
// archive.file(LOCAL_PATH + '/.env', { name: '/.env' });
|
|
||||||
await archive.finalize();
|
await archive.finalize();
|
||||||
|
|
||||||
await DeployHelper.connect();
|
await DeployHelper.connect();
|
||||||
|
|||||||
Reference in New Issue
Block a user