Deploy via FTP via CI?

I didn’t know that you can deploy via FTP with TravisCI. I knew that you could connect TravisCI (https://www.cloudways.com/blog/php-continuous-integration-travis-ci/ ) with your github repo and then deploy on your server through it. When deploying from FTP, I don’t think you can mention the various versions of your app like you can with github. So why would someone still want to do it.