#!/bin/bash set -e cd /app/gott export PATH="$HOME/.dotnet:$PATH" systemctl stop gott dotnet publish -c Release -o publish systemctl start gott echo "OK"