summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2023-01-13 16:20:23 -0300
committerRoger Gonzalez <roger@rogs.me>2023-01-13 16:20:23 -0300
commit07ce8f78fafe5adddc746397b9ba1e04ca99b815 (patch)
tree45c86fbddc41388ea6ec23c4049ea1c465dcb705 /.gitlab-ci.yml
parent7ca49cd3caefe42de895fde6b1992b88289299f7 (diff)
Removed deleting the old directory before building
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml2
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