I am developing a web system in codeigniter and will have a link to update the project version when you have an update. That is, the client will access the system, a message will appear warning that there are pending updates, the user clicks on the link and the project is updated to the latest version.
How can I make this logic? I'm using the Codeigniter framework.