Is it possible to restart a daemon via systemd on build success

I would like to restart the daemon via systemctl restart myservice after deploying new myservice artifacts after successful build. Is there a way to do so?