Skip to content

Commit

Permalink
print more info
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharon Kennedy committed Apr 21, 2020
1 parent 8ff5f4f commit 2826b10
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/services/deploy_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2826b10

Please sign in to comment.