gh workflow run "Publish beta package (TEST)" \
--repo Launchmetrics/GIS-shared \
--ref m-fix-beta-package-workflow \
--field pr-number=332 \
--field targets=GIS-mekong:m-feature-test-newParameters:
--ref: The branch containing the workflow file to run--field pr-number: The PR number to publish packages from--field targets: Target repos in formatrepo:branch(comma-separated for multiple)
gh run list --repo Launchmetrics/GIS-shared --workflow="Publish beta package (TEST)" --limit 5gh run watch <run-id> --repo Launchmetrics/GIS-sharedgh run view <run-id> --repo Launchmetrics/GIS-sharedgh run view <run-id> --repo Launchmetrics/GIS-shared --job=<job-id>gh run view <run-id> --repo Launchmetrics/GIS-shared --log# 1. Trigger the workflow
gh workflow run "Publish beta package (TEST)" \
--repo Launchmetrics/GIS-shared \
--ref m-fix-beta-package-workflow \
--field pr-number=332 \
--field targets=GIS-mekong:m-feature-branch
# 2. Get the run ID
gh run list --repo Launchmetrics/GIS-shared --workflow="Publish beta package (TEST)" --limit 1
# 3. Watch it run
gh run watch <run-id> --repo Launchmetrics/GIS-shared