Skip to content

v0.5.0

Latest

Choose a tag to compare

@thecodeholic thecodeholic released this 09 Dec 08:06

Fixed incremental deployments and added post-deployment optimization commands

Added

  • Post-deployment optimization commands matching GitHub Actions workflow:
    • Application optimization (optimize:clear and optimize)
    • Event caching (event:clear and event:cache)
    • Queue worker restart (queue:restart)
    • Horizon termination (horizon:terminate)
    • Application cache clearing (cache:clear)
    • OPcache clearing (opcache:clear)
  • Configurable caching commands (config, route, view) via config file flags

Fixed

  • Fixed .env file being overwritten during incremental deployments
  • Fixed app key regeneration breaking user sessions on subsequent deployments
  • Fixed storage symlink creation errors when symlink already exists
  • Fixed public_html symlink creation errors when symlink already exists

Improved

  • Post-deployment commands now run conditionally based on existing state
  • .env file is only created from .env.example if it doesn't already exist
  • App key generation only runs if APP_KEY is not set in .env
  • Storage symlink creation only runs if symlink doesn't exist
  • Safe for incremental deployments - preserves user data and configuration files
  • Removed redundant .env file existence checks (file is guaranteed to exist at post-deployment stage)
  • hostinger:deploy command now matches GitHub Actions workflow post-deployment behavior

Changed

  • Deployment commands are now idempotent - safe to run multiple times without side effects
  • First-time deployment behavior unchanged, but subsequent deployments preserve existing configuration