Skip to content

Commit

Permalink
add envVars to example in deployApp() (#1027)
Browse files Browse the repository at this point in the history
  • Loading branch information
fh-mthomson authored Nov 28, 2023
1 parent d7a92bf commit d8c89dd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions R/deployApp.R
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,10 @@
#' # deploy a Quarto website, using the quarto package to
#' # find the Quarto binary
#' deployApp("~/projects/quarto/site1")
#'
#' # deploy application with environment variables
#' # (e.g., `SECRET_PASSWORD=XYZ` is set via an ~/.Renviron file)
#' rsconnect::deployApp(envVars = c("SECRET_PASSWORD"))
#' }
#' @seealso [applications()], [terminateApp()], and [restartApp()]
#' @family Deployment functions
Expand Down
4 changes: 4 additions & 0 deletions man/deployApp.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d8c89dd

Please sign in to comment.