Looking for the meaning or definition of the word but hey? Here's what it means.
Interjection
Used to show that the thing just referred to is not ideal or does not support the argument, but that the situation cannot be improved upon, or the speaker is unwilling to try.