Bromley FC has been promoted to League One for the first time in their 134-year history, following Notts County's defeat by Barnet.