Skip to content

Commit e5d1668

Browse files
committed
chore: add deploy action
1 parent 4e0976a commit e5d1668

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/tag.yml renamed to .github/workflows/deploy.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name: Tag for production
1+
name: Deploy
22

33
on:
44
workflow_dispatch:
55
inputs:
66
run_number:
7-
description: 'Run number to tag from'
7+
description: 'Run number to deploy from'
88
required: true
99

1010
permissions:
@@ -16,8 +16,11 @@ defaults:
1616
shell: bash
1717

1818
jobs:
19-
build:
19+
deploy:
2020
runs-on: ubuntu-latest
21+
environment:
22+
name: prod
23+
url: https://demostore.gatling.io
2124
timeout-minutes: 10
2225
steps:
2326
- name: Configure AWS Credentials
@@ -43,3 +46,7 @@ jobs:
4346
--image-tag $IMAGE_TAG \
4447
--image-manifest "$manifest" \
4548
| jq --raw-output
49+
50+
- name: Deploy
51+
run: |
52+
aws ssm start-associations-once --association-id "${{ secrets.AWS_SSM_ASSOCIATION_MEP_DEMOSTORE_PROD }}"

0 commit comments

Comments
 (0)