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