Commit graph

12 commits

Author SHA1 Message Date
JasterV
961b24b202 feat: separate between review & review-cleanup workflows 2026-01-19 00:26:18 +01:00
Víctor Martínez
8dafc3e3fd
fix: review cleanup workflow (#8) 2026-01-14 17:27:14 +01:00
JasterV
4564973426 fix: production workflow 2026-01-14 17:24:07 +01:00
JasterV
30de4d23a4 fix: production workflow 2026-01-14 17:13:30 +01:00
Víctor Martínez
e3b3959ef9
feat: optimize CI by using cache (#7) 2026-01-14 17:08:34 +01:00
JasterV
c3ddf11bd8 fix: production deployment 2026-01-14 15:20:26 +01:00
Víctor Martínez
4cfa89ef21
feat: Reconfigure CI for review environments (#6)
This pull request refactors and improves the GitHub Actions CI/CD workflow setup and enhances the application header component. The changes consolidate and clarify deployment workflows for production and review environments, improve environment variable handling, and update the application UI for greater flexibility.

**CI/CD Workflow Refactoring and Improvements:**

* Consolidated the CI workflow in `.github/workflows/ci.yml` to support both manual and reusable workflow triggers, making it easier to compose in other workflows.
* Removed the old deployment workflows (`fly-deploy.yml` and `fly-review.yml`) in favor of new, clearer workflows for production (`production.yml`) and review apps (`review.yml`). These new workflows use reusable CI steps, improved secret management, and explicit environment configuration [[1]](diffhunk://#diff-e98bb23501189d64a1cee3fab4260cfa5fb4e0bf50a7352fc8c4bfe1939f92c2L1-L18) [[2]](diffhunk://#diff-360ed408b1160aff40b11529c2471f642a393cfd9375757bf6d4da2c7ab78db7L1-L34) [[3]](diffhunk://#diff-d5171f9b8c42863b1e934fda1fefedf968913c65aa5d715555a696fb3cbd4c7eR1-R45) [[4]](diffhunk://#diff-ebc21ccd816b27c07389e15ad88c9e74b71bde5e8e315e4e30902097d38386e5R1-R66).
* Added a new `fly.review.toml` configuration file to standardize review app deployments on Fly.io, specifying build, deploy, environment, and VM settings.
* Updated `fly.toml` to explicitly specify the Dockerfile for builds, improving deployment reliability.

**Environment and Configuration Handling:**

* Changed the application to require the `PHX_HOST` environment variable at runtime, raising an error if it is missing. This ensures correct host configuration for all deployments.

**UI Component Enhancement:**

* Refactored the `app_header` component to accept customizable `title` and `icon` attributes, and updated its usage in the main layout to display "Spazio Solazzo" with a sun icon. This makes the header more flexible and visually consistent [[1]](diffhunk://#diff-4b44e6943316f34ab5bf0f9ea1956fd2a65dc8a7cbb9c5a381578c13c6e559f6L42-R42) [[2]](diffhunk://#diff-4b44e6943316f34ab5bf0f9ea1956fd2a65dc8a7cbb9c5a381578c13c6e559f6R119-R138).
2026-01-14 14:50:25 +01:00
JasterV
0856495440 chore: update deploy workflow 2026-01-14 02:02:02 +01:00
JasterV
736104b080 chore: update debug logs 2026-01-13 18:42:35 +01:00
JasterV
a00e949fa9 feat: add a fly-review.yml action & update release file 2026-01-13 14:11:42 +01:00
JasterV
2041c75066 feat: setup for fly.io deployment 2026-01-13 13:57:52 +01:00
JasterV
8795de9ff7 Setup first public version of the project 2026-01-10 19:03:02 +01:00