mirror of
https://github.com/sidpalas/devops-directive-terraform-course.git
synced 2025-12-11 13:21:14 +00:00
add echo to check-tag
This commit is contained in:
2
.github/workflows/terraform.yml
vendored
2
.github/workflows/terraform.yml
vendored
@@ -77,7 +77,7 @@ jobs:
|
||||
run: |
|
||||
if [[ ${{ github.ref }} =~ ^refs/tags/vd+\.d+\.d+$ ]]; then echo ::set-output name=environment::production
|
||||
elif [[ github.ref == 'refs/heads/main' ]]; then echo ::set-output name=environment::staging
|
||||
else ::set-output name=environment::unknown
|
||||
else echo ::set-output name=environment::unknown
|
||||
fi
|
||||
|
||||
- name: Terraform Apply Staging
|
||||
|
||||
Reference in New Issue
Block a user