trigger | R Documentation |
This function uses the GitHub API to create a repository dispatch event that can trigger workflows.
trigger(
event_type,
repo = "rstudio/shinycoreci",
client_payload = list(),
auth_token = Sys.getenv("GITHUB_PAT")
)
trigger_tests(
repo = "rstudio/shinycoreci",
auth_token = Sys.getenv("GITHUB_PAT")
)
trigger_deploy(
repo = "rstudio/shinycoreci",
auth_token = Sys.getenv("GITHUB_PAT")
)
trigger_docker(
repo = "rstudio/shinycoreci",
auth_token = Sys.getenv("GITHUB_PAT")
)
trigger_results(
repo = "rstudio/shinycoreci",
auth_token = Sys.getenv("GITHUB_PAT")
)
event_type |
The name of the event to create on the repository |
repo |
The GitHub repo to create the event on; defaults to rstudio/shinycoreci |
client_payload |
The JSON object to make available in the workflow as
the |
auth_token |
Your GitHub Personal Access Token; defaults to
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.