From 2826b106d97565cddecdd6f3c56687d0973f7d9e Mon Sep 17 00:00:00 2001 From: Sharon Kennedy Date: Tue, 21 Apr 2020 12:28:53 -0400 Subject: [PATCH] print more info --- app/services/deploy_service.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/services/deploy_service.rb b/app/services/deploy_service.rb index 1cd7033..003694e 100644 --- a/app/services/deploy_service.rb +++ b/app/services/deploy_service.rb @@ -201,15 +201,15 @@ def deploy_to_firebase end Dir.chdir(@website_root_dir) do - p "Deploying to firebase hosting" - Rails.logger.info "Deploying to firebase hosting" - Delayed::Worker.logger.info "Deploying to firebase hosting" + p "Deploying to firebase hosting on #{@website.firebase_project_id}" + Rails.logger.info "Deploying to firebase hosting on #{@website.firebase_project_id}" + Delayed::Worker.logger.info "Deploying to firebase hosting on #{@website.firebase_project_id}" project_result = %x(firebase use #{@website.firebase_project_id}) Rails.logger.info project_result Delayed::Worker.logger.info project_result - success = system("firebase deploy") + success = system("firebase deploy --debug") Rails.logger.info "Build completed => #{success}" Delayed::Worker.logger.info "Build completed => #{success}" if !success