main deploy