Fix generate site code test error

wait for build