Commit Graph

5 Commits

Author SHA1 Message Date
Alexander cfcd913b0f fix: update deployment workflow to use dist directory
Changes deployment process to build in default 'build' directory, then safely deploy to 'dist' directory by stopping the service first, ensuring clean deployment without serving partial builds.
2026-01-02 22:12:46 +01:00
Alexander a75936fdd6 fix: correct deployment workflow to force sync with remote
Fix the deployment script to properly force the remote server to always
match the git repository state, regardless of local changes.

Changes:
- Replace invalid `git pull --force` with proper fetch and reset
- Add `git remote set-url origin` to ensure correct URL with auth token
- Use `git fetch origin` to download latest changes
- Use `git reset --hard origin/master` to force match remote state

This ensures clean deployments even if there are local modifications or
conflicts on the remote server, while preserving untracked files like .env.
2026-01-02 21:46:37 +01:00
Alexander 242868394b chore: add hard reset to deployment workflow
Ensures deployment always matches remote state by performing a hard
reset before building.
2026-01-02 18:46:42 +01:00
Alexander 6a93d56818 worker: change to new service name 2024-06-22 09:27:28 +02:00
Alexander 21d65b72e4 add action to build on push 2024-03-22 14:54:58 +01:00