master
#!/usr/bin/expect -f expect << EOF set timeout -1 spawn git push dokku master expect "Are you sure you want to continue connecting (yes/no)?" send "yes\r" expect -exact "remote: =====> Application deployed:" expect eof EOF