- Notifications
You must be signed in to change notification settings - Fork6
Workflow Dispatches
Astrid Avalin Soerensen edited this pageMay 11, 2025 ·4 revisions
This page explains how to manually trigger Unity CI/CD workflows using:
- GitHub UI (
Actionstab) - GitHub CLI (
gh workflow run)
| Input Name | Type | Description |
|---|---|---|
| buildType | string | One ofpreview,release_candidate,release |
| skipTests | string | Whether tests should be skipped or not this time, defaults to your repo or config setup |
| buildTargets | string | JSON array (e.g.,["WebGL"]) |
| deployTargets | string | JSON array (e.g.,["gh-pages"]) |
- Go to theActions tab
- Choose the workflow (e.g.,
ci-cd-dispatcher.ymlorci-cd-redeployer.yml) - Click the grey button:Run workflow
- Fill in the inputs
- Click the green button:Run workflow
gh workflow run ci-cd-dispatcher.yml \ --field buildType="preview" \ --field skipTests="default" \ --field buildTargets='["WebGL"]' --field deployTargets='["gh-pages"]'
Let’s build better Unity pipelines together! 🚀
Need help? Join theDiscussions or open anIssue.