daveadmin c5464aa0aa test: add Playwright smoke suite (cookie banner, lang switcher, FamilyAtlas, WritingIssue)
34 tests across desktop + mobile (Chromium/Pixel 5). Verifies all client-side
React islands and interactive features that astro build/WebFetch cannot confirm.
API-dependent WritingIssue shows graceful error against local preview; resolves
on the live site where the PHP backend is available.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-04 19:40:41 +02:00
2026-04-06 04:02:01 +02:00

davegilligan-new

Astro + React islands frontend for davegilligan.com.

This is the repo that should own the public magazine-style frontend now. It deploys only the static site layer and intentionally leaves these server-side paths alone:

  • api/
  • admin/
  • uploads/
  • matomo/
  • live/
  • db/
  • vendor/

Local commands

  • npm install
  • npm run dev
  • npm run build
  • npm run preview

GitHub deploy workflow

The workflow lives at .github/workflows/deploy.yml.

It does four things on every push to main:

  1. Builds the Astro site from dist/
  2. Uploads a tarball of the static build to the server
  3. Creates a timestamped backup of the current public_html
  4. Rsyncs only the static frontend into public_html, while protecting backend and upload paths

Required GitHub secrets

  • SSH_PRIVATE_KEY
  • REMOTE_HOST
  • REMOTE_USER
  • REMOTE_PATH
  • SSH_PORT

Recommended production values for this site:

  • REMOTE_HOST=89.167.24.252
  • REMOTE_PATH=/home/davegilligan/public_html
  • SSH_PORT=22

REMOTE_USER should be the SSH user that has permission to write to /home/davegilligan/public_html.

Important note

Do not let the old davegilligan repo auto-deploy the frontend anymore. That repo still contains the legacy React/PHP site and can overwrite this Astro frontend if its workflow is left active.

S
Description
No description provided
Readme 28 MiB
Languages
TypeScript 43.7%
Astro 25.3%
CSS 22.6%
JavaScript 5.8%
Python 2.6%