Fix recursive call to deploy

Fix recursive call to `deploy`, which is the cause of Issue #30