From 07ce8f78fafe5adddc746397b9ba1e04ca99b815 Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Fri, 13 Jan 2023 16:20:23 -0300 Subject: Removed deleting the old directory before building --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4092d75..cc33d9f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,6 +11,6 @@ deploy: - ssh-keyscan $SSH_HOST >> ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts script: - - ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd repo && git stash && git pull --force origin master && rm -rf /var/www/yams.media/* && ./build.sh" + - ssh -p $SSH_PORT $SSH_USER@$SSH_HOST "cd repo && git stash && git pull --force origin master && ./build.sh" only: - master -- cgit v1.2.3