Currently if I want to deploy a static website to rsconnect the best way I have found is using deployApp. If I were to use deploySite(render = "none") which seems to imply that I can deploy just the contents of a directory, I get an error
No _site.yml found in docs.
(note that technically my website is an rmd website, its package documentation, but does not have _site.yml)
This is because my website does not have this file, but deploySite thinks my site is an Rmarkdown site and when it cannot confirm that it errors.
I appreciate that the header of the documentation for the function does say "Deploy an R Markdown or quarto website to a server." but I think it's natural for a user to assume if they want to deploy a static website then the deploySite function would be the natural one. The python cli has an analogous deploy html which supports this. I guess the analogy to that would be deployDoc but that only supports one file at a time.
My suggestion would be to
a) Make it so that deploySite supports non rmd/quarto sites
b) very explicit in documentation that only rmd/quarto is supported
c) make deployDocs which supports arbitrary upload of files.
Currently if I want to deploy a static website to rsconnect the best way I have found is using
deployApp. If I were to usedeploySite(render = "none")which seems to imply that I can deploy just the contents of a directory, I get an errorNo_site.ymlfound in docs.(note that technically my website is an rmd website, its package documentation, but does not have _site.yml)
This is because my website does not have this file, but
deploySitethinks my site is an Rmarkdown site and when it cannot confirm that it errors.I appreciate that the header of the documentation for the function does say "Deploy an R Markdown or quarto website to a server." but I think it's natural for a user to assume if they want to deploy a static website then the
deploySitefunction would be the natural one. The python cli has an analogousdeploy htmlwhich supports this. I guess the analogy to that would be deployDoc but that only supports one file at a time.My suggestion would be to
a) Make it so that deploySite supports non rmd/quarto sites
b) very explicit in documentation that only rmd/quarto is supported
c) make deployDocs which supports arbitrary upload of files.