diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a51ea317..6cff93e2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -29,9 +29,10 @@ jobs: KEY: ${{ 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 \ No newline at end of file + 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