mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 15:40:11 +01:00
* feat(deploy): enable manual triggering * fix(deploy): use the default azure/CLI version * doc(deploy): update action trigger guid * feat(deploy): enable manual triggering for docs Co-authored-by: artem.zaiko.ext <artem.zaiko.ext@munichgeneral.com>
892 B
892 B
Actions deploy guide
In order to trigger workflow action you should execute the following curl (docs):
curl \
-X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token <ACCESS_TOKEN>" \
https://api.github.com/repos/akveo/ngx-admin/actions/workflows/<WORKFLOW_ID>/dispatches \
-d '{"ref":"<REF>","inputs":{"name":"Mona the Octocat","home":"San Francisco, CA"}}'
Parameters:
WORKFLOW_ID- the workflow id or its file name (e.g.azureCliDeploy.yml)ACCESS_TOKEN: A personal access token. Creating a personal access token guideREF: Required. The git reference for the workflow. The reference can be a branch or tag name. ('demo')