Keep auto publishing while having a deploy hook

When I trigger a deploy hook, auto-publishing from GitHub seems to stop working.
Is there a way to keep both working?
Thank you!

Hey there. Could you please share the site you’re talking about and a build log so we can dig in a bit more?