Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ybmadhu authored Apr 16, 2022
1 parent 66c7f00 commit c531125
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: TERRAFORM PROJ

on:
push:
branches: [ master ]
# branches: [ master ]
tags:
- v1.**

Expand All @@ -27,3 +27,7 @@ jobs:
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ secrets.AWS_REGION }}
- name: terraform init
run: cd devops && terraform init
- name: terraform apply
run : cd devops && terraform apply -var="tag=${{ env.RELEASE_VERSION }}" -auto-approve

0 comments on commit c531125

Please sign in to comment.