wrap condition in braces

This commit is contained in:
sid palas
2021-05-27 15:41:38 -07:00
parent 634ba2582a
commit 6bb2c4920e

View File

@@ -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