build: add -y
Some checks failed
Build and Deploy Angular App / build (push) Failing after 51s

Signed-off-by: Polianin Nikita <wesser@noreply.git.winsomnia.net>
This commit is contained in:
Polianin Nikita 2024-07-04 10:32:43 +03:00
parent ece19a663a
commit c8f2c608b8

View File

@ -40,7 +40,7 @@ jobs:
mkdir -p ~/.ssh mkdir -p ~/.ssh
ssh-keyscan $SSH_HOST >> ~/.ssh/known_hosts ssh-keyscan $SSH_HOST >> ~/.ssh/known_hosts
sudo apt update sudo apt update
sudo apt install rsync sudo apt install rsync -y
rsync -av ./dist/frontend/browser/ $SSH_USER@$SSH_HOST:$TARGET_DIR rsync -av ./dist/frontend/browser/ $SSH_USER@$SSH_HOST:$TARGET_DIR
ssh $SSH_USER@$SSH_HOST "sudo chmod 770 -R www-data:www-data $TARGET_DIR" ssh $SSH_USER@$SSH_HOST "sudo chmod 770 -R www-data:www-data $TARGET_DIR"
ssh $SSH_USER@$SSH_HOST "sudo chown -R www-data:www-data $TARGET_DIR" ssh $SSH_USER@$SSH_HOST "sudo chown -R www-data:www-data $TARGET_DIR"