rstudio / rsconnect

Publish Shiny Applications, RMarkdown Documents, Jupyter Notebooks, Plumber APIs, and more
http://rstudio.github.io/rsconnect/
133 stars 81 forks source link

provide more execution context to rsconnect deployment hooks #1095

Open malcook opened 2 months ago

malcook commented 2 months ago

These hooks has limited knowledge of its execution context. Specifically, I understand from reading rsconnectOptions documentation and the [source code]() that functions named by these options are called with a single argument, being the appDir.

I would like my rsconnect.post.deploy hook function to somehow determine more of the execution context, specifically the path to the deployment record (.dcf) file.

Can this be made possible somehow?

I have also raised this issue in posit a forum post and with Posit support, who advised me that this would make a good feature request here.

jacpete commented 2 months ago

related support ticket #107343