Skip to content

Commit

Permalink
enable deploy from non main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
kunduso committed Dec 2, 2024
1 parent ed2a445 commit 1efb25a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/terraform-ecr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,6 @@ jobs:
# On push to "main", build or change infrastructure according to Terraform configuration files
# Note: It is recommended to set up a required "strict" status check in your repository for "Terraform Cloud". See the documentation on "strict" required status checks for more information: https://help.github.com/en/github/administering-a-repository/types-of-required-status-checks
- name: Terraform Apply
if: github.ref == 'refs/heads/main'
# if: github.ref == 'refs/heads/main'
run: |
terraform apply -auto-approve -input=false

0 comments on commit 1efb25a

Please sign in to comment.