diff --git a/.github/workflows/serverless-deploy.yaml b/.github/workflows/serverless-deploy.yaml index 319103f..6e3b7f6 100644 --- a/.github/workflows/serverless-deploy.yaml +++ b/.github/workflows/serverless-deploy.yaml @@ -66,10 +66,10 @@ jobs: if: ${{ inputs.SHOULD_SEED_DB == true }} run: npm run seed-db - name: Do serverless info - run: npx serverless info --verbose + run: npx serverless info --stage ${{ inputs.ENVIRONMENT }} --verbose - id: set_service_url name: Generate, mask, and output a secret run: | - SERVICE_URL="$(npx serverless info --verbose | grep ServiceEndpoint | sed s/ServiceEndpoint\:\ //g)" + SERVICE_URL="$(npx serverless info --stage ${{ inputs.ENVIRONMENT }} --verbose | grep ServiceEndpoint | sed s/ServiceEndpoint\:\ //g)" echo "$SERVICE_URL" echo "SERVICE_URL=$SERVICE_URL" >> "$GITHUB_OUTPUT" \ No newline at end of file