diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 6039a64..caec37d 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -41,4 +41,5 @@ jobs: ssh-keyscan $SSH_HOST >> ~/.ssh/known_hosts sudo apt update sudo apt install rsync -y - rsync -avr -p --chmod=660 --chown=$SSH_USER:www-data --no-times --delete ./dist/frontend/browser/ $SSH_USER@$SSH_HOST:$TARGET_DIR \ No newline at end of file + rsync -avr -p --chmod=770 --no-times --delete ./dist/frontend/browser/ $SSH_USER@$SSH_HOST:$TARGET_DIR + ssh $SSH_USER@$SSH_HOST "chown -R :www-data $TARGET_DIR"