Use the Iron Worker CLI to run, upload, queue and schedule workers in Iron.io. More info here. This step assumes the iron.json and my_worker.worker files exist in the current executing direcotry.
worker-name
(required) Specify the name of the .worker file. For example, my_worker.worker would be worker-name: my_workercmd
(required) The iron_worker sub command to use. The iron_worker cli support run, upload, queue, schedule and log.args
(optional) Arguments passed to the iron_worker command.
deploy:
steps:
- nimajalali/iron-worker:
worker-name: my_worker
cmd: upload
args: --env development --max-concurrency 10