Change regex to ignore other targets

...instead of deploying anyway