Use cargo release
from the main
branch. This will do all the plumbing and
upload the release artifact to the GitHub releases.
The deployment script is then downloading the latest release and installs it on the server.
To deploy a new release on the server, run
./deploy
To validate the deployment go to <URL>/debug