diff --git a/i3v.yml b/i3v.yml index 929878f..215d7f9 100644 --- a/i3v.yml +++ b/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 \ No newline at end of file + when: git_result.changed \ No newline at end of file