-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (32 loc) · 938 Bytes
/
deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: TDR Deploy Export Status Lambda
on:
workflow_dispatch:
inputs:
environment:
type: choice
description: 'Environment'
required: true
options:
- intg
- staging
- prod
default: 'intg'
to-deploy:
description: 'Version to deploy'
required: true
permissions:
id-token: write
contents: write
jobs:
deploy:
uses: nationalarchives/tdr-github-actions/.github/workflows/lambda_deploy.yml@main
with:
lambda-name: export-status-update
deployment-package: export-status-update.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 }}