Skip to content

Deploying Notifications Lambda v281 to staging #429

Deploying Notifications Lambda v281 to staging

Deploying Notifications Lambda v281 to staging #429

Workflow file for this run

name: TDR Deploy Notifications Lambda
on:
workflow_dispatch:
inputs:
environment:
type: choice
description: 'Environment'
required: true
options:
- intg
- staging
- prod
- mgmt
default: 'intg'
to-deploy:
description: 'Version to deploy'
required: true
run-name: Deploying Notifications Lambda ${{inputs.to-deploy}} to ${{inputs.environment}}
permissions:
id-token: write
contents: write
jobs:
deploy:
uses: nationalarchives/tdr-github-actions/.github/workflows/lambda_deploy.yml@main
with:
lambda-name: notifications
deployment-package: notifications.jar
environment: ${{ github.event.inputs.environment }}
to-deploy: ${{ github.event.inputs.to-deploy }}
secrets:
ACCOUNT_NUMBER: ${{ secrets.ACCOUNT_NUMBER }}
MANAGEMENT_ACCOUNT: ${{ secrets.MANAGEMENT_ACCOUNT }}
WORKFLOW_PAT: ${{ secrets.WORKFLOW_PAT }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}