build: remove sudo
Some checks failed
Build and Deploy Angular App / build (push) Failing after 57s

Signed-off-by: Polianin Nikita <wesser@noreply.git.winsomnia.net>
This commit is contained in:
Polianin Nikita 2024-10-25 02:40:41 +03:00
parent 5d265e4b48
commit 924c75ea79

View File

@ -42,4 +42,4 @@ jobs:
sudo apt update sudo apt update
sudo apt install rsync -y sudo apt install rsync -y
rsync -avr -p --chmod=770 --no-times --delete ./dist/frontend/browser/ $SSH_USER@$SSH_HOST:$TARGET_DIR rsync -avr -p --chmod=770 --no-times --delete ./dist/frontend/browser/ $SSH_USER@$SSH_HOST:$TARGET_DIR
ssh $SSH_USER@$SSH_HOST "sudo chown -R :www-data $TARGET_DIR" ssh $SSH_USER@$SSH_HOST "chown -R :www-data $TARGET_DIR"