From 23433639f8e95ba4c64ce3b6afafa8700a34ba1e Mon Sep 17 00:00:00 2001 From: Mufassil Yasir Date: Tue, 30 Jan 2024 12:35:40 +0500 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 98ff278d..48c214ec 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -29,9 +29,10 @@ jobs: PASSWORD: ${{ secrets.PASS }} PORT: 22 script: | + sudo su root cd /var/www/czqoprod/ - sudo chown -R gander:www-data . - sudo find . -type f -exec chmod 664 {} \; - sudo find . -type d -exec chmod 775 {} \; - sudo chgrp -R www-data storage bootstrap/cache - sudo chmod -R ug+rwx storage bootstrap/cache + chown -R gander:www-data . + find . -type f -exec chmod 664 {} \; + find . -type d -exec chmod 775 {} \; + chgrp -R www-data storage bootstrap/cache + chmod -R ug+rwx storage bootstrap/cache