I’m looking at automating upgrades of discourse. This is for the most basic single container install. Trying to keep things simple.
The most basic would be to setup up this to run via cron:
cd /var/discourse git pull ./launcher rebuild app
Problem is you take the service offline for the rebuild even if there are no updates.
I’d preferebly like to do something like this:
if ./update_available.sh; then cd /var/discourse git pull ./launcher rebuild app fi
(assuming the script exits with true if updates are available)
Anyone know of any easy methods to get this info on the host?