upload_site: Upload a website

Description Usage Arguments Details Author(s)

View source: R/upload_site.R

Description

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).

Usage

1
upload_site(message = "update")

Arguments

message

character string containing the message of the git commit.

Details

The combination of 'pkgdown::build_site' then 'mcdev::upload_site' is equivalent to 'mcdev::buildsite' but we recommand to use the former option instead.

Author(s)

Marc Choisy


choisy/mcdev documentation built on May 27, 2019, 12:18 p.m.