This updates the CI to add pre-commit and caching, along with adding a deploy workflow.
The deploy workflow currently only pushed to GHCR, but can be expanded in future to also deploy to the server running Friendo.
As part of this, I have also added a github sha tag to the build processs o we can remove the git apt dep once we have setup CD and use this in the version cog.
This updates the CI to add pre-commit and caching, along with adding a deploy workflow.
The deploy workflow currently only pushed to GHCR, but can be expanded in future to also deploy to the server running Friendo.
As part of this, I have also added a github sha tag to the build processs o we can remove the git apt dep once we have setup CD and use this in the version cog.