add changelog webhook
This commit is contained in:
parent
24ee1df599
commit
4fbccbc340
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Reference in a new issue