deploy: reset generated site files before pull (fixes silently-stranded commits)

deploy.sh ran sync_nav.py / gen-service-catalog.py which dirty site/public +
site/src in place; that made 'git pull' abort, so recent commits never reached
prod until pulled manually. Reset those generated paths before pulling so deploys
always fast-forward. Also document the IRP POA signer-name/title follow-up.
This commit is contained in:
justin 2026-06-16 05:28:45 -05:00
parent a74516a255
commit 42b433db5a
2 changed files with 18 additions and 0 deletions

View file

@ -21,6 +21,12 @@ SERVICES="${@:-site api workers proxy-relay listmonk-hc}"
BUILD_SERVICES="$(echo "$SERVICES" | tr ' ' '\n' | grep -vE '^(proxy-relay|listmonk-hc)$' | tr '\n' ' ')"
echo "=== Pulling latest from git ==="
# deploy steps below (sync_nav.py, gen-service-catalog.py) rewrite generated
# files under site/public + site/src in place, leaving the tree dirty. That dirty
# tree makes `git pull` abort ("local changes would be overwritten"), silently
# stranding new commits on an old checkout. Discard those generated changes first
# so the pull always fast-forwards. (Only generated paths are reset.)
git checkout -- site/public site/src 2>/dev/null || true
git pull origin main
# Single source of truth for the site header: rewrite every static page's

View file

@ -195,3 +195,15 @@ FMCSA QCMobile API ← /api/v1/dot/lookup (real-time per carrier)
- **Email outreach to 1.5M+ carriers** with specific deficiency data
- **Lower pricing** through automation (no manual data entry)
- **Bundled services** (telecom + trucking for carriers that do both)
## IRP filing — known follow-ups (2026-06)
- **POA signer name/title on auto-signed orders**: dot-compliance-remediation
orders auto-sign the state-trucking authorization without capturing the
signer's printed name/title, so the POA PDF attached to IRP submissions has a
blank printed-name/title (the date IS rendered). We are sending these as-is to
see if base states accept them; if a state rejects for an incomplete POA,
capture signer_name/signer_title in the remediation auth flow (or re-issue the
POA for signature) before submitting. Code: state_trucking_authorization.py
(template has name/title/date fields + a date anchor), esign_stamp.py (stamps
signature + date).