Skip to content

Commit 1f2eb9f

Browse files
VIA-102 AS Update deploy action with TF steps
1 parent 3e9e431 commit 1f2eb9f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/cicd-3-deploy.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ jobs:
5757
steps:
5858
- name: "Checkout code"
5959
uses: actions/checkout@v4
60+
- name: "Deploy"
61+
id: deploy
62+
run: |
63+
TF_ENV=dev make terraform-init
64+
TF_ENV=dev make terraform-plan opts="-out=terraform.tfplan"
65+
TF_ENV=dev make terraform-apply opts="-auto-approve terraform.tfplan"
6066
# TODO: More jobs or/and steps here
6167
# success:
6268
# name: "Success notification"

0 commit comments

Comments
 (0)