Connect server cPanel to GitHub and sync files?
Budget: $30 – $250 USD
I have a website consisting of various system files within a public_html directory. Preceding the public_html (in the / directory), there are additional system files that are essential. I currently have 1 TB of data on the server, comprising images and other files. Up until now, I've been using FTP to manually upload code changes. However, I aim to transition to using GitHub, allowing me to leverage familiar code editors and enabling automatic updates to server files upon saving.
However, the issue I'm encountering is that when attempting to update the server from GitHub, it scans for changes and potentially deletes files not present on GitHub. I don't want, for instance, the images stored on the server to be included in a separate defined folder on GitHub. Essentially, I only want the source code without all these extra images and files. Any changes made should only affect these source files. Moreover, it should support the scenario where if I delete a file from GitHub, the corresponding file or directory should also be removed from the main server.
I require assistance in setting this up. I'm using cPanel as the primary server, noting that cPanel does not support Git at the public_html level.
Write: GitHub, GitHub, GitHub in the text when writing me a offer. That way i know you are not a bot.
However, the issue I'm encountering is that when attempting to update the server from GitHub, it scans for changes and potentially deletes files not present on GitHub. I don't want, for instance, the images stored on the server to be included in a separate defined folder on GitHub. Essentially, I only want the source code without all these extra images and files. Any changes made should only affect these source files. Moreover, it should support the scenario where if I delete a file from GitHub, the corresponding file or directory should also be removed from the main server.
I require assistance in setting this up. I'm using cPanel as the primary server, noting that cPanel does not support Git at the public_html level.
Write: GitHub, GitHub, GitHub in the text when writing me a offer. That way i know you are not a bot.