Update deploy.yml
This commit is contained in:
parent
9640cc82d8
commit
3f14478270
1 changed files with 10 additions and 0 deletions
10
deploy.yml
10
deploy.yml
|
@ -8,8 +8,18 @@
|
||||||
shell: git pull
|
shell: git pull
|
||||||
args:
|
args:
|
||||||
chdir: "{{ repo_path }}"
|
chdir: "{{ repo_path }}"
|
||||||
|
register: git_pull_output
|
||||||
|
|
||||||
|
- name: Display git pull output
|
||||||
|
debug:
|
||||||
|
var: git_pull_output.stdout_lines
|
||||||
|
|
||||||
- name: Restart services
|
- name: Restart services
|
||||||
command: docker compose up -d
|
command: docker compose up -d
|
||||||
args:
|
args:
|
||||||
chdir: "{{ repo_path }}"
|
chdir: "{{ repo_path }}"
|
||||||
|
register: docker_output
|
||||||
|
|
||||||
|
- name: Display docker output
|
||||||
|
debug:
|
||||||
|
var: docker_output.stdout_lines
|
||||||
|
|
Reference in a new issue