Do I need to pay the capital gains tax on a house I inherited and sold through an irrevocable trust or does the trust pay?

My father left me his house at time of death but the house remained in a trust until it was sold. I lived in the house for a year and invested money to fix it up to sell. What taxes need to be paid if it was an inheritance though the house wasn't put in my name?