Bash script to update Gitea automatically
README.md | ||
updater.sh |
Gitea update script
This shell script updates Gitea automatically.
How to use:
Download the .sh file:
´wget https://git.kmpr.at/kamp/gitea-update-script/raw/branch/main/updater.sh´
´chmod +x updater.sh´
Do not forget to set the path to the git binary in the script.
Optionally you can set up a cronjob to run this script and run automatic updates for example daily at 5:00:
´crontab -e´
´0 5 * * * /root/updater.sh´