update git
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 2m40s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 15s
Build, Push and Deploy / deploy-staging (push) Successful in 29s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s

This commit is contained in:
2026-03-30 17:50:31 +07:00
parent b5e3a778ce
commit a5638095f1
4 changed files with 271 additions and 2 deletions

View File

@@ -77,7 +77,13 @@ grep "APP_KEY" .env
# Ensure vendor directory matches composer.lock exactly, syncing missing packages
echo "Verifying and synchronizing Composer dependencies..."
composer install # --no-interaction --optimize-autoloader
# Run composer install to physically ensure all files (like laravel/prompts) are present in the volume
composer install --no-interaction --optimize-autoloader
# FIX: Ensure all generated/downloaded files are fully readable and executable by PHP-FPM
echo "Setting correct ownership for web server..."
chown -R www-data:www-data vendor
chmod -R 755 vendor
# Verify vendor integrity at PHP level
echo "Checking vendor visibility and READABILITY for PHP..."