remove fix permission
WMS API/ECOMMERCE/pipeline/head There was a failure building this commit Details

This commit is contained in:
Husnu Setiawan 2026-02-26 09:51:28 +07:00
parent 44ef52febc
commit 1b70438c7a
1 changed files with 0 additions and 7 deletions

View File

@ -44,12 +44,6 @@ cd {{ $app_dir }}/current
{{ $php_bin}} artisan storage:link
@endtask
@task('fix_permissions')
sudo chown -R ubuntu:www-data {{ $new_release_dir }}
sudo find {{ $new_release_dir }} -type f -exec chmod 664 {} \;
sudo find {{ $new_release_dir }} -type d -exec chmod 775 {} \;
@endtask
@task('clean_old_releases')
# This lists our releases by modification time and delete all but the 3 most recent.
purging=$(ls -dt {{ $releases_dir }}/* | tail -n +5);
@ -69,7 +63,6 @@ sudo find {{ $new_release_dir }} -type d -exec chmod 775 {} \;
@story('deploy',["on" => "prod"])
clone_repository
run_composer
fix_permissions
update_symlinks
setup_laravel
clean_old_releases