Skip to content

Commit c3d51fd

Browse files
authored
back
1 parent ff32a9b commit c3d51fd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ansible/roles/git_repo/tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
- name: Ensure Tag Deploy For Prod
33
tags: deploy
4-
when: node_env=="production-delta" and not git_branch | match("^v([0-9]+)\.([0-9]+)\.([0-9]+)$")
5-
fail: msg="only tag can be deployed on prod not {{ git_branch }}"
4+
when: node_env=="production-delta" and not git_branch | match("^v([0-9]+)\.([0-9]+)\.([0-9]+)$")
5+
fail: msg="only tag can be deployed on prod not {{ git_branch }}"
66

77
- name: Display Git Repo Name
88
debug:

0 commit comments

Comments
 (0)