ngx-admin/.github/workflows/ACTION_TRIGGER_GUIDE.md
maksim-karatkevich 7b84933f7c
chore: deploy demo action
* create deploy demo script
* action trigger guide added
2020-05-14 15:28:52 +03:00

588 B

Actions deploy guide

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

This curl expects ACCESS_TOKEN input parameter
ACCESS_TOKEN: A personal access token. Creating a personal access token guide