From 8eff4f44fc6fa1176ddfc35efb4f0df158ba4ec4 Mon Sep 17 00:00:00 2001 From: Bernardo Guerreiro Date: Tue, 23 Jan 2024 16:41:33 +0000 Subject: [PATCH] refactor: proper seed db check --- .github/workflows/serverless-deploy.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/serverless-deploy.yaml b/.github/workflows/serverless-deploy.yaml index 22518f3..e5d0fd5 100644 --- a/.github/workflows/serverless-deploy.yaml +++ b/.github/workflows/serverless-deploy.yaml @@ -2,6 +2,7 @@ name: Deploy to AWS on: workflow_dispatch: + inputs: ENVIRONMENT: description: 'Environment to deploy to' @@ -72,7 +73,7 @@ jobs: # env: # AWS_SDK_LOAD_CONFIG: 1 - name: seed_db - if: ${{ github.event.inputs.SHOULD_SEED_DB == true }} + if: ${{ inputs.SHOULD_SEED_DB == true }} run: npm run seed-db - id: set_service_url name: Generate, mask, and output a secret