docs(GitHub Actions): Add alternative trigger options (#1471)
These options work the same as the curl command, but use a GitHub App so there's no need to provision and manage a Personal Access Token in order to trigger the Semantic Release action.
This commit is contained in:
parent
22321cff1c
commit
a62bc7cd85
@ -66,3 +66,8 @@ To trigger a release, call (with a [Personal Access Tokens](https://help.github.
|
|||||||
```
|
```
|
||||||
$ curl -v -H "Accept: application/vnd.github.everest-preview+json" -H "Authorization: token ${GITHUB_TOKEN}" https://api.github.com/repos/[org-name-or-username]/[repository]/dispatches -d '{ "event_type": "semantic-release" }'
|
$ curl -v -H "Accept: application/vnd.github.everest-preview+json" -H "Authorization: token ${GITHUB_TOKEN}" https://api.github.com/repos/[org-name-or-username]/[repository]/dispatches -d '{ "event_type": "semantic-release" }'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If you'd like to use a GitHub app to manage this instead of creating a personal access token, you could consider using a project like:
|
||||||
|
|
||||||
|
* [Actions Panel](https://www.actionspanel.app/) - A declaratively configured way for triggering GitHub Actions
|
||||||
|
* [Action Button](https://github-action-button.web.app/#details) - A simple badge based mechanism for triggering GitHub Actions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user