We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff32a9b commit c3d51fdCopy full SHA for c3d51fd
1 file changed
ansible/roles/git_repo/tasks/main.yml
@@ -1,8 +1,8 @@
1
---
2
- name: Ensure Tag Deploy For Prod
3
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 }}"
+ when: node_env=="production-delta" and not git_branch | match("^v([0-9]+)\.([0-9]+)\.([0-9]+)$")
+ fail: msg="only tag can be deployed on prod not {{ git_branch }}"
6
7
- name: Display Git Repo Name
8
debug:
0 commit comments