From 1bf354d1dd30ad6742be9364141b1e8b6521c652 Mon Sep 17 00:00:00 2001 From: coyoteecd Date: Thu, 3 Feb 2022 16:39:41 +0200 Subject: [PATCH] Extend deploy/remove commands with nos3sync option so that it can be used with Serverless v3 --- index.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/index.js b/index.js index c100224..0599a96 100644 --- a/index.js +++ b/index.js @@ -44,6 +44,22 @@ class ServerlessS3Sync { ] } } + }, + deploy: { + options: { + nos3sync: { + type: 'boolean', + usage: 'Disable sync to S3 during deploy' + } + } + }, + remove: { + options: { + nos3sync: { + type: 'boolean', + usage: 'Disable sync to S3 during remove' + } + } } };