diff --git a/.github/workflows/ACTION_TRIGGER_GUIDE.md b/.github/workflows/ACTION_TRIGGER_GUIDE.md index a9820da5..c0bf75cf 100644 --- a/.github/workflows/ACTION_TRIGGER_GUIDE.md +++ b/.github/workflows/ACTION_TRIGGER_GUIDE.md @@ -2,11 +2,11 @@ In order to trigger `deploy-to-demo` action you should execute the following curl: -`curl -H "Accept: application/vnd.github.everest-preview+json" \ --H "Authorization: token " \ ---request POST \ ---data '{"event_type": "deploy-to-demo"}' \ -https://api.github.com/repos/akveo/ngx-admin/dispatches` +`curl -H "Accept: application/vnd.github.everest-preview+json" \` +`-H "Authorization: token " \` +`--request POST \` +`--data '{"event_type": "deploy-to-demo"}' \` +`https://api.github.com/repos/akveo/ngx-admin/dispatches` This curl expects `ACCESS_TOKEN` input parameter
`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)