Fix local build step on deploy