feat(deployment): update semaphore configuration and deployment workflows
This commit is contained in:
@@ -34,3 +34,13 @@ application_wait_interval: 5
|
||||
|
||||
# Command executed inside the app container to run migrations
|
||||
application_migration_command: "php console.php db:migrate"
|
||||
|
||||
# Environment (production, staging, local)
|
||||
# Determines which compose files to use and service names
|
||||
application_environment: "{{ APP_ENV | default('production') }}"
|
||||
|
||||
# Compose file suffix based on environment
|
||||
application_compose_suffix: "{{ 'staging.yml' if application_environment == 'staging' else 'production.yml' }}"
|
||||
|
||||
# Service names based on environment
|
||||
application_service_name: "{{ 'staging-app' if application_environment == 'staging' else 'php' }}"
|
||||
|
||||
Reference in New Issue
Block a user