master
omidshj 2024-05-17 18:10:38 +03:30
parent fdfa834984
commit 716bb874a9
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
--- ---
- name: update inception - name: build generate-image
hosts: all hosts: all
tasks: tasks:
# - name: Change to the app directory and update the repository # - name: Change to the app directory and update the repository
@ -9,7 +9,7 @@
# version: master # version: master
# register: git_result # register: git_result
- name: Go to the application directory - name: Go to the application directory
command: chdir=/root/code/generate-image git pull origin master command: chdir=/root/code/generate-image git pull origin main
register: git_result register: git_result
- name: Build docker image if there were changes - name: Build docker image if there were changes