diff options
author | Roger Gonzalez <roger@rogs.me> | 2023-01-13 16:20:23 -0300 |
---|---|---|
committer | Roger Gonzalez <roger@rogs.me> | 2023-01-13 16:20:23 -0300 |
commit | 07ce8f78fafe5adddc746397b9ba1e04ca99b815 (patch) | |
tree | 45c86fbddc41388ea6ec23c4049ea1c465dcb705 | |
parent | 7ca49cd3caefe42de895fde6b1992b88289299f7 (diff) |
Removed deleting the old directory before building
-rw-r--r-- | .gitlab-ci.yml | 2 |
1 files changed, 1 insertions, 1 deletions
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 |