How do I deal with doing all the work while someone else gets the credit?
You keep the whole thing running, cleanly and without fail, and someone else stands in the light for it. That is a real ache, and you are right to feel it. Doing essential work in the shadows and watching the praise land elsewhere wears a person down over time. Hold two truths at once. The credit going elsewhere does not make your work less real. You know what you do, and the people who rely on you know it too, even when they forget to say so. Your worth is not decided by who gets thanked in the room. It is decided by what is true, and the truth is that you carry it. Still, being unseen for too long is a fair reason to want change. If the recognition never comes, you are allowed to ask for it plainly, or to seek a place that sees you. Value your own work first. From that steady ground, you can decide what you will keep giving and what you will require in return.