server "dev.symfony.webplates.xyz", user: "webplates", roles: [:app, :db, :web]

set :composer_install_flags, "--no-interaction --quiet --optimize-autoloader"

set :symfony_env, "dev"

after "deploy:updated", :build do
    invoke "doctrine:schema:drop_full"
    invoke "doctrine:migrations:migrate"
    invoke "symfony:console", "h:d:f:l", "--no-interaction"
    invoke "symfony:console", "cache:clear", "--env prod"
end

server "dev.symfony.webplates.xyz", user: "webplates", roles: [:app, :db, :web]

set :composer_install_flags, "--no-interaction --quiet --optimize-autoloader"

set :symfony_env, "dev"

after "deploy:updated", :build do
    invoke "doctrine:schema:drop_full"
    invoke "doctrine:migrations:migrate"
    #invoke "symfony:console", "h:d:f:l", "--no-interaction"
    invoke "symfony:console", "cache:clear", "--env prod"
end

Disable fixtures during deployment by default
Disable fixtures during deployment by default
