expect in deploy