Publish a local site or all sites in a given directory to a github org. Set a valid 'GITHUB_PAT' token in your environment to use this non-interactively.
1 2 3 | deploy_site(path, deploy_org)
deploy_all_sites(doc_root, deploy_org = "ropensci-docs")
|
path |
local path of the website root directory |
deploy_org |
name of github organization to publish gh-pages repo Defaults to 'https://deploy_org.github.io/pkg'. |
doc_root |
directory in which your websites are stored |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.