Does deployment or setup time count as billable?

Edited

Billing starts the moment you click Deploy. If a deployment fails, that charge is refunded.