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