From 17dab7766da92ab4743b6c9d96152259bd8d7bce Mon Sep 17 00:00:00 2001 From: Yue Zhu Date: Fri, 11 Sep 2020 13:34:24 -0700 Subject: [PATCH] enable staging --- package.json | 1 + serverless.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/package.json b/package.json index ac6a310..67814e7 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "scripts": { "test": "serverless --version", "dev": "serverless deploy $npm_package_config_dev --aws-profile $npm_package_config_aws_profile --verbose", + "stage": "serverless deploy --stage stage --region us-east-2 --verbose", "prod": "serverless deploy $npm_package_config_prod --aws-profile $npm_package_config_aws_profile --verbose", "sandbox": "serverless deploy $npm_package_config_sandbox --aws-profile $npm_package_config_aws_profile --verbose" }, diff --git a/serverless.yml b/serverless.yml index 5b6fdee..647113c 100644 --- a/serverless.yml +++ b/serverless.yml @@ -41,6 +41,7 @@ custom: slash_command: ${{ssm:/socless/slack/slash_command}} scheduleEnabled: dev: false + stage: true prod: true sandbox: false