Commit graph

8 commits

Author SHA1 Message Date
Vadym Samoilenko
b0de69b1d9 Fix TinaCloud schema sync: force re-index before build
The root cause of the schema mismatch was skipIfSchemaCurrent=true in
TinaCMS's syncProject() call, which caused TinaCloud to skip re-indexing
when it thought the schema SHA hadn't changed. This left TinaCloud with
a stale GraphQL schema missing the pages collection (PagesSeo type).

Fix: add an explicit curl step before the build that calls TinaCloud's
reset endpoint WITHOUT skipIfSchemaCurrent, forcing a full re-index.
Keep --skip-cloud-checks in the build command to avoid the circular
dependency (build failing because TinaCloud is still indexing).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 23:01:15 +00:00
Vadym Samoilenko
1f1c7508b4 Deploy nginx.conf to server in CI/CD pipeline
server/nginx.conf was never synced to the server — CI/CD only deployed
dist/. Add rsync step to copy nginx.conf before container restart.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 22:08:39 +00:00
Vadym Samoilenko
5fa337d97a Preserve server blog content: exclude blog/ from rsync --delete
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 22:14:39 +00:00
Vadym Samoilenko
2f3e4d3dd8 Add tina/__generated__ for TinaCloud branch indexing
TinaCloud requires _schema.json and _graphql.json to index branches.
Generated by running tinacms dev locally.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 20:50:38 +00:00
Vadym Samoilenko
fdf598422c Fix CI: remove TINA_TOKEN from build to skip cloud branch check
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 20:40:18 +00:00
Vadym Samoilenko
985d21b53d Add TinaCMS Cloud integration (Phase 1)
- Add tina/config.ts with full schema for all site sections
- Convert i18n from TypeScript to nested JSON (content/translations/)
- Update LanguageContext to import JSON with flattenObject utility
- Update dev/build scripts to run tinacms build
- Add sync-blog.mjs support for content/blog/*.md (TinaCMS posts)
- Update CI/CD with Tina env vars, remove blog rsync exclusion
- Add tina/__generated__/ to .gitignore

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 20:34:35 +00:00
Vadym Samoilenko
c5ecda0a44 Fix CI/CD: use printf for SSH key to preserve formatting
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 13:51:00 +00:00
Vadym Samoilenko
67c7ab3289 Initial commit: Aimpress website
React 19 + TypeScript SPA with Vite, mobile responsive fixes,
GitHub Actions CI/CD pipeline for automated deployment.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 13:47:37 +00:00