From 95f471afa462919da34115ac9dcc8b6b81219ae5 Mon Sep 17 00:00:00 2001 From: jowj Date: Tue, 28 May 2019 14:32:05 -0500 Subject: [PATCH] Fixing bad commit. --- deployments/awful-1/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deployments/awful-1/deploy.yml b/deployments/awful-1/deploy.yml index 1ce2c55..24902d3 100644 --- a/deployments/awful-1/deploy.yml +++ b/deployments/awful-1/deploy.yml @@ -3,12 +3,12 @@ remote_user: josiah tasks: - name: update or create the directory - command: cd /home/josiah/znc-docker/ && git pull + shell: cd /home/josiah/znc-docker/ && git pull register: result ignore_errors: True # if the folder doesn't exist, clone source. - - command: cd /home/josiah && git clone https://github.com/jowj/znc-docker.git + - shell: cd /home/josiah && git clone https://github.com/jowj/znc-docker.git when: result is failed - name: build from latest version shell: cd ~/znc-docker/full && docker build -t znc -f Dockerfile .