add changelog webhook

This commit is contained in:
Philipp 2022-10-11 23:15:52 +02:00
parent 24ee1df599
commit 4fbccbc340
Signed by: Spaenny
GPG Key ID: 9EBD8439AFBAB750
1 changed files with 1 additions and 0 deletions

View File

@ -17,4 +17,5 @@ else
echo "$2: There has been an update, server version: ${version}, newest version: ${new_version}":
curl -H "Content-Type: application/json" -d "{\"username\": \"Server Updater\", \"content\": \"$2: There has been an update, server version: $version, newest version: $new_version\"}" $discord_webhook
(cd ~/docker/tf2; docker compose exec tf2dm-1 ./rcon -H 88.198.49.46 -p $1 -P $rcon_password changelevel cp_process_final)
curl -H "Content-Type: application/json" -d "{\"username\": \"Server Updater\", \"content\": \"$2 has been updated to the newest version: $new_version\"}" $discord_webhook_changelog
fi