mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-28 13:18:49 +01:00
13 lines
643 B
Markdown
13 lines
643 B
Markdown
### Actions deploy guide
|
|
|
|
In order to trigger workflow action you should execute the following curl:
|
|
|
|
`curl -H "Accept: application/vnd.github.everest-preview+json" \`
|
|
`-H "Authorization: token <ACCESS_TOKEN>" \`
|
|
`--request POST \`
|
|
`--data '{"event_type": "<ACTION>"}' \`
|
|
`https://api.github.com/repos/akveo/ngx-admin/dispatches`
|
|
|
|
This curl expects two input parameters:
|
|
- `ACCESS_TOKEN`: A personal access token. Creating a [personal access token guide](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line)
|
|
- `ACTION`: action to trigger ('deploy-docs', 'deploy-to-demo')
|