ci: update deployment steps
This commit is contained in:
parent
fb1ba4236a
commit
40744c9852
|
@ -3,10 +3,9 @@
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Pull the latest images and restart the services
|
- name: Pull the latest images and re-generate the site.
|
||||||
shell: |
|
shell: |
|
||||||
git pull
|
git pull
|
||||||
docker-compose --file docker-compose-production.yaml pull
|
docker-compose up --detach
|
||||||
docker-compose --file docker-compose-production.yaml up --detach
|
|
||||||
args:
|
args:
|
||||||
chdir: oliverdavies.uk
|
chdir: /var/www/oliverdavies.uk
|
||||||
|
|
Loading…
Reference in a new issue