mirror of
https://github.com/sidpalas/devops-directive-terraform-course.git
synced 2025-12-11 13:21:14 +00:00
wrap condition in braces
This commit is contained in:
2
.github/workflows/terraform.yml
vendored
2
.github/workflows/terraform.yml
vendored
@@ -78,6 +78,6 @@ jobs:
|
||||
run: terraform apply -var db_pass=${{secrets.DB_PASS }} -auto-approve
|
||||
|
||||
- name: Terraform Apply Production
|
||||
if: github.ref =~ ^refs/tags/vd+\.d+\.d+$ && github.event_name == 'push'
|
||||
if: ${{ github.ref =~ ^refs/tags/vd+\.d+\.d+$ }} && github.event_name == 'push'
|
||||
working-directory: 07-managing-multiple-environments/file-structure/production
|
||||
run: terraform apply -var db_pass=${{secrets.DB_PASS }} -auto-approve
|
||||
|
||||
Reference in New Issue
Block a user