From 9e1e6e684c9d262b85cb56065374e12def52ceab Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 11 Nov 2021 12:00:00 +0000 Subject: [PATCH] fix: update deployment steps --- tools/deployment/deploy.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tools/deployment/deploy.yml b/tools/deployment/deploy.yml index a50df5c9..ea5647a1 100644 --- a/tools/deployment/deploy.yml +++ b/tools/deployment/deploy.yml @@ -3,9 +3,12 @@ gather_facts: false 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. - shell: | - git pull - docker-compose up --detach + shell: ./run run-production args: - chdir: /var/www/oliverdavies.uk + chdir: ~/oliverdavies.uk