I grow in the greenhouse border because I am not faced with the problem you mention.
This is because I have three greenhouses so I can practice 'crop rotation' and have adopted a three year cycle.
As you can see in picture one I have split my long greenhouse into 6 beds two of which you can see here.
In picture two this greenhouse has a concrete floor so I use the ring culture method.
In picture three it is just one continuous 'U' shaped bed.
I would suggest if you have only one traditional greenhouse you grow tomatoes on one side one year with something like peppers on the other side.
The following year you could reverse this.
In the third year dig the first foot of soil out and replace with humus enriched soil from somewhere out of the garden ( fill the resulting hole with what you take out of the greenhouse).
The alternative is remove soil annually.