Skip to content

Commit 5ba7ad6

Browse files
author
Heider Oliveira
committed
feat: add GitHub Actions workflow for production deployment
1 parent 40c20d6 commit 5ba7ad6

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/main.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: "PROD DEPLOY"
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
id-token: write
10+
contents: read
11+
12+
jobs:
13+
terraform:
14+
uses: ./.github/workflows/terraform.yml
15+
with:
16+
enviroment: prod
17+
aws-assume-role-arn: "arn:aws:iam::243637693710:role/github-actions-heideroliveira-pipeline"
18+
aws-region: "sa-east-1"
19+
aws-statefile-s3-bucket: "heider1988-sa-east-1-terraform-statefile"
20+
aws-lock-dynamodb-table: "heider1988-sa-east-1-terraform-lock"

0 commit comments

Comments
 (0)