From 429cea1f25672eaa2a843af29869ea033c09215b Mon Sep 17 00:00:00 2001 From: Mufassil Yasir Date: Tue, 30 Jan 2024 12:29:40 +0500 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d54e62d8..98ff278d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,7 +3,7 @@ name: Deploy on: push: branches: [ main ] - + jobs: deploy: runs-on: ubuntu-latest @@ -30,8 +30,8 @@ jobs: PORT: 22 script: | cd /var/www/czqoprod/ - chown -R mufassil: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 \ No newline at end of file + 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