ngx-admin/.github/workflows/ACTION_TRIGGER_GUIDE.md
maksim-karatkevich ef650ae1cf
chore: add docs deploy script (#5682)
Co-authored-by: Maksim Karatkevich <m.karatkevich@akveo.com>
2020-05-15 16:32:37 +03:00

643 B

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
  • ACTION: action to trigger ('deploy-docs', 'deploy-to-demo')