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