Laravel Forge
Inly Core ships a zero-downtime deployment script atvendor/inly/core/bin/deploy-forge.sh. Configure your Forge deployment script to call it:
--no-plugins avoids composer merge to update the lock file on deployment.
GitHub Actions
The workflow at.github/workflows/laravel.yml runs tests on every push and triggers a Forge deployment when tests pass on the main or master branch.
To enable automatic deployment, add your Forge webhook URL as a repository secret:
Cloud Storage
To store media files in the cloud instead of local disk, create a public bucket namedcloud and set the environment variable:
Queue Workers
Inly Core dispatches jobs acrosshigh, medium, and low priority queues. Use Laravel Horizon — configured via Forge — to process all queues automatically.
Manual Deployment
Troubleshooting
Deployment fails
Deployment fails
- Review the Forge deployment logs for the specific error.
- Confirm all required environment variables are set.
- Check that the database connection is reachable.
- Verify file permissions on the server.
Frontend build errors
Frontend build errors
- Ensure Node.js and pnpm versions match your local environment.
- Check for missing entries in
package.json. - Review TypeScript errors printed in the build output.
TypeScript generation errors
TypeScript generation errors
- Verify all DTO classes are properly defined with no PHP syntax errors.
- Ensure
composer generate-tshas the necessary file permissions.
Queue workers not processing
Queue workers not processing
- Check worker status:
php artisan horizon:status. - Verify the Redis connection configuration.
- Confirm workers were restarted after the last deployment.