18th November 2023 / 02:00 PM
With the help of a bash-script, this site is much easier to update. The script automatically clones the GitHub-Repository of BytesOfProgress and replaces the old files with the updated ones.
Now, all I have to do in order to make changes on the site, is make the changes, commit to the repository on GitHub, log into the FileBrowser instance on the server, open a shell and type "bash merge.sh". The script looks like this, as you can see, it is fairly simple:
git clone https://github.com/5calV/BytesOfProgress
rm -rf html
mv BytesOfProgress/html /var/www/
rm -rf BytesOfProgress