automatically figure out where static site gens (rmarkdown etc) write to
usually _site, but could be anything. Would be good to figure this out programmatically, without pestering the user.
I just can't think of an elegant way to do this right now.
maybe rmarkdown has figured this out already, or can somehow be coaxed into returning the path on execution.
Execute the rmarkdown::render_site function from within the directory containing your files to build _site, a directory of files ready to deploy as a standalone static website. https://rmarkdown.rstudio.com/lesson-13.html
The generated HTML files and any supporting files (e.g., CSS and JavaScript) are copied into an output directory (_site by default). https://bookdown.org/yihui/rmarkdown/rmarkdown-site.html
this should be a lot easier now that github actions support input and outputs