This function adds a wercker badge to a github repo's README.md.
1 2 | wercker_add_badge(repo, badge = wercker_get_badge(repo, branch = branch),
branch = "master", strip_existing_badge = TRUE)
|
repo |
one or more repo names in |
badge |
one or more badge links, defaults to generating via |
branch |
github branch to alter |
strip_existing_badge |
should any existing wercker badges be striped from the README.md? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.