diff --git a/build ocean.yml b/build ocean.yml index 58d32c6..844da1e 100644 --- a/build ocean.yml +++ b/build ocean.yml @@ -9,7 +9,7 @@ # version: master # register: git_result - name: Go to the ocean directory - command: "chdir={{directory}} git pull origin master" + command: "chdir={{directory}} git pull origin {{branch}}" register: git_result - name: Build docker image if there were changes