git by command
parent
51e049726e
commit
3747ee4069
5
i3v.yml
5
i3v.yml
|
@ -8,6 +8,9 @@
|
|||
# dest: /root/code/inception
|
||||
# version: master
|
||||
# register: git_result
|
||||
- name: Go to the application directory
|
||||
command: chdir=/root/code/inception git pull origin master
|
||||
register: git_result
|
||||
|
||||
- name: Build docker image if there were changes
|
||||
docker_image:
|
||||
|
@ -16,4 +19,4 @@
|
|||
path: /root/code/inception
|
||||
name: inception
|
||||
tag: "13.2"
|
||||
# when: git_result.changed
|
||||
when: git_result.changed
|
Loading…
Reference in New Issue