fix: update deployment steps
This commit is contained in:
parent
ab55a7704b
commit
9e1e6e684c
|
@ -3,9 +3,12 @@
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: Update the code
|
||||||
|
git:
|
||||||
|
repo: https://github.com/opdavies/oliverdavies.uk
|
||||||
|
dest: ~/oliverdavies.uk
|
||||||
|
|
||||||
- name: Pull the latest images and re-generate the site.
|
- name: Pull the latest images and re-generate the site.
|
||||||
shell: |
|
shell: ./run run-production
|
||||||
git pull
|
|
||||||
docker-compose up --detach
|
|
||||||
args:
|
args:
|
||||||
chdir: /var/www/oliverdavies.uk
|
chdir: ~/oliverdavies.uk
|
||||||
|
|
Loading…
Reference in a new issue