15 lines
446 B
Markdown
15 lines
446 B
Markdown
# 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` |