File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Preprod - Seed DynamoDB Table
22
33on :
4- # workflow_run:
5- # workflows: [ "Preprod Deploy " ]
6- # types:
7- # - completed
4+ workflow_run :
5+ workflows : [ "CI/CD pull request " ]
6+ types :
7+ - completed
88 workflow_dispatch :
9+ inputs :
10+ environment :
11+ description : Target environment
12+ required : true
13+ type : choice
14+ options : [ dev ]
915 push :
1016 paths :
1117 - " .github/scripts/seed_dynamodb.py"
1824 env :
1925 AWS_REGION : eu-west-2
2026 DATA_FOLDER : vitaIntegrationTestData/
21- DYNAMODB_TABLE : eligibility-signposting-api-preprod -eligibility_datastore
27+ DYNAMODB_TABLE : eligibility-signposting-api-dev -eligibility_datastore
2228
2329 steps :
2430 - name : Checkout repo
3945 arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/service-roles/github-actions-api-deployment-role
4046 aws-region : ${{ env.AWS_REGION }}
4147
48+
4249 - name : Run seed script
4350 run : |
4451 python .github/scripts/seed_dynamodb.py \
You can’t perform that action at this time.
0 commit comments