build: set group separately of rsync
Some checks failed
Build and Deploy Angular App / build (push) Failing after 1m2s
Some checks failed
Build and Deploy Angular App / build (push) Failing after 1m2s
Signed-off-by: Polianin Nikita <wesser@noreply.git.winsomnia.net>
This commit is contained in:
parent
0c28514a8d
commit
458cab9888
@ -41,4 +41,5 @@ jobs:
|
||||
ssh-keyscan $SSH_HOST >> ~/.ssh/known_hosts
|
||||
sudo apt update
|
||||
sudo apt install rsync -y
|
||||
rsync -avr -p --chmod=770 -g www-data ./dist/frontend/browser/ $SSH_USER@$SSH_HOST:$TARGET_DIR
|
||||
rsync -avr -p --chmod=770 ./dist/frontend/browser/ $SSH_USER@$SSH_HOST:$TARGET_DIR
|
||||
ssh $SSH_USER@$SSH_HOST "sudo chown -R :www-data $TARGET_DIR"
|
||||
|
Loading…
Reference in New Issue
Block a user