Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/ecs-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,13 @@ jobs:
ops-ref: ${{ inputs.ops-ref || 'main' }}
secrets: inherit

lambda-deploy:
needs:
- deploy
uses: ./.github/workflows/lambda-deploy.yml
with:
env: ${{ inputs.env || 'dev' }}

smoke-test:
needs: deploy
uses: ./.github/workflows/smoke-test.yml
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/lambda-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Lambda deploys

on:
workflow_call:
inputs:
env:
description: AWS environment to deploy to
required: true
type: string
default: "dev"

jobs:
waf-sync-deploy:
if: ${{ inputs.env != 'sandbox' }}
uses: ./.github/workflows/api-waf-sync-deploy.yml
opt-out-deploy:
if: ${{ inputs.env != 'sandbox' }}
uses: ./.github/workflows/opt-out-import-deploy.yml
opt-in-deploy:
if: ${{ inputs.env != 'sandbox' }}
uses: ./.github/workflows/opt-out-export-deploy.yml