Description Usage Arguments Details Author(s)
It uses publishdir
to retrieve the directory of the
website, then, from the website directory, it uses git commands to (i) stage
all new changes, (ii) commit these change (together with the input argument
message), and (iii) push upstream (which is uploading).
1 | upload_site(message = "update")
|
message |
character string containing the message of the git commit. |
The combination of 'pkgdown::build_site' then 'mcdev::upload_site' is equivalent to 'mcdev::buildsite' but we recommand to use the former option instead.
Marc Choisy
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.