Parse assistant messages as Markdown (marked.js)
This commit is contained in:
1 parent
6556d62f17
commit
18b2feef4a
7 files changed
+157
-45
No files matched your search
@@ -1,27 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
_hostname=$(hostname)
|
||||
|
||||
if [ "$_hostname" = "stein2" ]; then
|
||||
cd /home/node/.openclaw/workspace/projects/gott
|
||||
systemctl stop gott
|
||||
elif [ "$_hostname" = "meleki-container" ]; then
|
||||
cd ~/.openclaw/workspace/projects/gott
|
||||
else
|
||||
echo "$_hostname: deployment not allowed"
|
||||
exit
|
||||
fi
|
||||
|
||||
cd /app/gott
|
||||
export PATH="$HOME/.dotnet:$PATH"
|
||||
|
||||
systemctl stop gott
|
||||
dotnet publish -c Release -o publish
|
||||
|
||||
if [ "$_hostname" = "stein2" ]; then
|
||||
systemctl start gott
|
||||
elif [ "$_hostname" = "meleki-container" ]; then
|
||||
ssh -o ConnectTimeout=5 meleki@192.168.100.200 "nohup sudo systemctl restart gott > /dev/null 2>&1 &"
|
||||
fi
|
||||
|
||||
systemctl start gott
|
||||
echo "OK"
|
||||
Reference in new issue
Block a user