Description Usage Arguments References
This function assumes you know what you're doing and expects a valid
.build.yml
in the package
directory.
1 2 3 4 5 6 7 8 9 10 | build_pkg(package = ".", note = "New build", tags = c("package",
"rstats"), read_access = NULL, write_access = NULL, execute = TRUE,
secrets = TRUE, browse = FALSE, username = sourcehut_user(),
pat = sourcehut_pat())
get_build_status(job_id, pat = sourcehut_pat())
get_build_manifest(job_id, pat = sourcehut_pat())
start_build(job_id, pat = sourcehut_pat())
|
package |
path to package (assumes current directory) |
note |
human-friendly description of this build (markdown, optional) |
tags |
character vector of strings that identify this build and can be used to navigate the dashboard. Each string must use only lowercase alphanumeric characters, or any of "-_." |
read_access, write_access |
character vector of users that have read or write access to the job. |
execute |
start build immediately? (Default: |
secrets |
provide secrets to the build? (Default: |
browse |
open browser to the builder URL? (Default: |
username |
see |
pat |
see |
job_id |
|
https://man.sr.ht/builds.sr.ht/api.md
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.