Skip to content

Commit e6376c3

Browse files
committed
ci: add deployment step to dev deploy workflow
1 parent 0ca35d6 commit e6376c3

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

.github/workflows/txma-mock-dev-deploy.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,17 @@ jobs:
3838
run: sam validate --lint
3939

4040
- name: Build SAM template
41-
run: sam build
41+
run: sam build
42+
43+
- name: Configure AWS credentials
44+
uses: aws-actions/configure-aws-credentials@8df5847569e6427dd6c4fb1cf565c83acfa8afa7 # v6.0.0
45+
with:
46+
role-to-assume: ${{ secrets.DEV_TXMA_MOCK_GH_ACTIONS_ROLE_ARN }}
47+
aws-region: eu-west-2
48+
49+
- name: Deploy SAM app
50+
uses: govuk-one-login/devplatform-upload-action@b7bc01ed6e0b61d54f42e7f3d12dd3fdbb0f172a # v3.13.0
51+
with:
52+
artifact-bucket-name: ${{ secrets.DEV_TXMA_MOCK_GH_ARTIFACT_SOURCE_BUCKET_NAME }}
53+
working-directory: ./txma-mock
54+
template-file: .aws-sam/build/template.yaml

0 commit comments

Comments
 (0)