build: add -p to rsync
Some checks failed
Build and Deploy Angular App / build (push) Failing after 1m30s

Signed-off-by: Polianin Nikita <wesser@noreply.git.winsomnia.net>
This commit is contained in:
Polianin Nikita 2024-07-04 10:53:24 +03:00
parent d5074eb0f3
commit 0c28514a8d

View File

@ -41,4 +41,4 @@ jobs:
ssh-keyscan $SSH_HOST >> ~/.ssh/known_hosts ssh-keyscan $SSH_HOST >> ~/.ssh/known_hosts
sudo apt update sudo apt update
sudo apt install rsync -y sudo apt install rsync -y
rsync -avr --chmod=770 -g www-data ./dist/frontend/browser $SSH_USER@$SSH_HOST:$TARGET_DIR rsync -avr -p --chmod=770 -g www-data ./dist/frontend/browser/ $SSH_USER@$SSH_HOST:$TARGET_DIR