Commit graph

16 commits

Author SHA1 Message Date
Christbru
47fc78057d Fix deployment: properly stop containers before recreating
- Add compose down before pull/up to avoid container name conflicts
- Improve toolchain caching: only install if not already present
- Add log directory mount for easy error monitoring
- Scope Buildx cache per image for better hit rates
2025-10-18 21:37:47 -05:00
Christbru
17679c609e Pull errors out into the main system for easy tailing 2025-10-18 21:21:48 -05:00
Christbru
a32e0dd474 Deploy: fix GHCR auth and compose warnings
- Pass RUNNER envs to remote SSH action so docker login ghcr.io works
- Remove obsolete `version` from docker-compose.prod.yml to avoid warnings
2025-10-18 21:08:20 -05:00
Christbru
5ca801bdd1 Switch to GITHUB_TOKEN allowing only the action to trigger an update. Not necessary if public but doesn't harm anything and can cover if private. 2025-10-18 20:54:55 -05:00
Christbru
c9186ea923 Update the deploy 2025-10-18 20:47:35 -05:00
Christbru
e8a971e879 Fix rust version mismatch issues 2025-10-18 20:32:30 -05:00
Christbru
2075c252f6 Correct key usage back to normal 2025-10-18 20:19:56 -05:00
Christbru
f730609f62 Patch ssh handling for authentication. 2025-10-18 20:03:27 -05:00
Christbru
151a354518 Remove problematic caching systems 2025-10-18 19:03:11 -05:00
Christbru
691d2f09fd Switching off to other branch for testing deployment. main no longer triggers deployment at the moment. 2025-10-18 18:31:23 -05:00
Christbru
fa78ffc1b7 Converts repository name to lowercase which is necessary for the build to work with docker container registry. 2025-10-18 17:53:58 -05:00
Christbru
64a70357eb Removed complex "Extract metadata" tagging which was causing build failures. Replaced it with simpler but still effective method. 2025-10-18 17:46:39 -05:00
Christbru
cb9cff4421 Fixing automated build and deployment. Corrected outdated file structure and added build cache to the action. 2025-10-18 17:39:47 -05:00
Christbru
a69c697b24 Added environment example boilerplate. 2025-10-18 14:43:31 -05:00
Christbru
5b82bf9390 Updated deployment action to build all sections and deploy to the cloud server. 2025-10-18 14:38:33 -05:00
ecb7899a97
feat: first commit 2025-10-18 12:58:31 -05:00