fix: actions readme formatting

This commit is contained in:
Evgeny Lupanov 2020-05-14 18:53:22 +03:00
parent c06bd0885a
commit a48cb2b0bf

View file

@ -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 <ACCESS_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 <ACCESS_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
<br>`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)