Skip to content

Commit 03e55fa

Browse files
testing dev
1 parent 04c1fdf commit 03e55fa

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

.github/workflows/cicd-4b-preprod-seed-users.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
name: Preprod - Seed DynamoDB Table
22

33
on:
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"
@@ -18,7 +24,7 @@ jobs:
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
@@ -39,6 +45,7 @@ jobs:
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 \

0 commit comments

Comments
 (0)