On-demand pipeline
workflow_dispatch 가 Actions UI 에 'Run workflow' 버튼 노출 (CLI 의 gh workflow run + API 도). Ad-hoc 작업의 옳은 trigger: 수동 deploy, 일회성 backfill, 디버그 세션.
Typed input
string(기본).boolean— UI 체크박스.number.choice—options:드롭다운.environment— repo environment 드롭다운.
CLI 에서 trigger
gh workflow run deploy.yml -f env=production -f version=v1.4.2
왜 runner SSH 보다 나은가
- 감사 로그 — 모든 dispatch 기록.
- Auth — dispatching 사용자로 실행, secret 과 permission 적용.
- 재현 가능 — YAML 이 script.
- 가시성 — 누구나 뭐가 도는지, 뭐가 돌았는지 봄.