0eae030142c011a3add217d696a8bea0ba612285
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 installnpm run devnpm run buildnpm run preview
GitHub deploy workflow
The workflow lives at .github/workflows/deploy.yml.
It does four things on every push to main:
- Builds the Astro site from
dist/ - Uploads a tarball of the static build to the server
- Creates a timestamped backup of the current
public_html - Rsyncs only the static frontend into
public_html, while protecting backend and upload paths
Required GitHub secrets
SSH_PRIVATE_KEYREMOTE_HOSTREMOTE_USERREMOTE_PATHSSH_PORT
Recommended production values for this site:
REMOTE_HOST=89.167.24.252REMOTE_PATH=/home/davegilligan/public_htmlSSH_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.
Description
Languages
TypeScript
43.7%
Astro
25.3%
CSS
22.6%
JavaScript
5.8%
Python
2.6%