Publish Programmatic Plumber to RStudio Connect

Hello, I'd like to publish this programmatic version of a plumber API to RStudio Connect.
I've set up my plumber router this way so that my routes follow the folder structure of the repo.

i.e. GET /general/health-check is located in the general/general_router.R file

plumber.R

library(plumber)

root <- plumber::pr()

pr_set_api_spec(root, yaml::read_yaml("openapi.yml"))

routers <- list.files(pattern = "_router\\.R$", recursive = TRUE)

lapply(routers, function(router) {
  print(router)
  pr_mount(root, ifelse(dirname(router) == '.', '', dirname(router)), pr(router))
})

pr_run(root)

general/general_router.R

library(plumber)

#* Health Check - is the API running ?
#* @get /health-check
function() {
  list(
    status = 'Running',
    time = Sys.time()
  )
}

Using RStudio Connect to publish ( Import from git option ) I get as far as this.

"No deployable content was found"

After seeing this I installed rsconnect and ran the rsconnect::writeManifest() function.
Republished to Rstudio Connect and now when I open the content I see

"An error has occurred. The application failed to start. Contact the author or review the logs for more information. "

Here is my log file. My guess is that the host is wrong. Probably should be something that'd comply with Rstudio connect interface.

2022/05/12 20:16:46.425252184 arguments: /opt/R/4.0.2/bin/R --no-save -s -f /opt/rstudio-connect/R/run_api.R
2022/05/12 20:16:46.425276161
2022/05/12 20:16:46.835404028 Running on host: xxxx.xxxx . com
2022/05/12 20:16:46.849687288 Linux distribution: Red Hat Enterprise Linux Server release 7.9 (Maipo)
2022/05/12 20:16:46.854571302 Using Packrat dir /opt/rstudio-connect/mnt/app/packrat/lib/x86_64-pc-linux-gnu/4.0.2
2022/05/12 20:16:46.868396608 Server version: 2021.11.1
2022/05/12 20:16:46.868453287 LANG: en_US.UTF-8
2022/05/12 20:16:46.868579680 R version: 4.0.2
2022/05/12 20:16:46.868663642 plumber version: 1.1.0
2022/05/12 20:16:46.868724204 httpuv version: 1.6.5
2022/05/12 20:16:46.868815204 jsonlite version: 1.8.0
2022/05/12 20:16:46.868845412 httpuv version: 1.6.5
2022/05/12 20:16:46.868944623 rmarkdown version: (none)
2022/05/12 20:16:46.869467849 Using pandoc: /opt/rstudio-connect/ext/pandoc/2.11
2022/05/12 20:16:47.361494831
2022/05/12 20:16:47.361532102 Starting R with process ID: '1297'
2022/05/12 20:16:47.421293206 here() starts at /opt/rstudio-connect/mnt/app
2022/05/12 20:16:47.594115248 [1] "general/general_router.R"
2022/05/12 20:16:47.717986629 [1] "xxx/xxi/xxx_router.R"
2022/05/12 20:16:47.926381232 Running plumber API at http://127.0.0.1:9396
2022/05/12 20:16:48.001743291 Running swagger Docs at http://127.0.0.1:9396/docs/