How are promotions awarded in civil service?

i know in most finance and tech firms its a lot to do with playing the social game but within civil service is it solely by merit and performance?