Skip to content

Commit

Permalink
Merge branches 'sign-up-school-info-required' and 'staging' of https:…
Browse files Browse the repository at this point in the history
…//github.com/code-dot-org/code-dot-org into sign-up-school-info-required
  • Loading branch information
ewjordan committed Nov 14, 2017
2 parents 2c6d187 + bbc63fa commit c83dcb4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions aws/cloudformation/update_certs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ unless ARGV.length == 1
end

domain = ARGV[0]
`acmesmith current #{domain} 2>&1`
unless $?.success?
begin
Acmesmith::Command.start ['current', domain]
rescue => _
required_certs = ['', 'dashboard-', 'origin-'].map {|prefix| prefix + domain}
CDO.log.info "Authorizing SSL certificates for subdomain: #{domain}"
required_certs.each do |auth|
Expand Down

0 comments on commit c83dcb4

Please sign in to comment.