ci: update deployment steps

This commit is contained in:
Oliver Davies 2021-10-31 16:49:43 +00:00
parent fb1ba4236a
commit 40744c9852

View file

@ -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