finally figured out how deploy works