Refine deploy workflow

This to me seems harder to read/understand than the original code above.  Is there clear benefit here?