From 3747ee4069f6b6a4718a237b592405400325bb83 Mon Sep 17 00:00:00 2001 From: omidshj Date: Fri, 17 May 2024 12:42:00 +0330 Subject: [PATCH] git by command --- i3v.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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