Removed deleting the old directory before building

This commit is contained in:
Roger Gonzalez 2023-01-13 16:20:23 -03:00
parent 7ca49cd3ca
commit 07ce8f78fa
Signed by: rogs
GPG Key ID: C7ECE9C6C36EC2E6

View File

@ -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