switch order of build/deploy blocks