Skip to content

Commit

Permalink
feat: add environment to serverless-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardobridge committed Jan 23, 2024
1 parent 605e897 commit babcad7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/serverless-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,14 @@ on:
outputs:
SERVICE_URL:
description: 'API Gateway endpoints'
value: ${{ jobs.deploy_to_env.outputs.SERVICE_URL }}
value: ${{ jobs.deploy-to-env.outputs.SERVICE_URL }}

permissions:
id-token: write
contents: read
jobs:
deploy_to_env:
deploy-to-env:
environment: ${{ inputs.ENVIRONMENT }}
runs-on: ubuntu-latest
env:
ENVIRONMENT: ${{ inputs.ENVIRONMENT }}
Expand Down

0 comments on commit babcad7

Please sign in to comment.