View source: R/projects_and_repos.R
gl_archive | R Documentation |
Archive a repository
gl_archive(project, ...)
project |
id (preferred way) or name of the project. Not repository name. |
... |
further parameters passed on to |
if save_to_file is NULL, a raw vector of the archive, else the path to the saved archived file
## Not run:
set_gitlab_connection(
gitlab_url = "https://gitlab.com",
private_token = Sys.getenv("GITLAB_COM_TOKEN")
)
gl_archive(project = "<<your-project-id>>", save_to_file = "example-project.zip")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.