ASSET_VERSION only proves *a* deploy happened recently, not *which* commit -- not enough to answer "did my push actually deploy, or am I looking at a stale browser cache" (today's actual answer: neither -- deploy was current, a GeoJSON cache predating a code change was just never invalidated, since it only checks the source .gpx's mtime). The CI deploy job now writes REVISION (short SHA) before dropping .git; app.rb reads it at boot, falling back to "dev" locally/in CI's own check job where the file never exists.
36 lines
713 B
Plaintext
36 lines
713 B
Plaintext
# Ruby / Bundler
|
|
/.bundle/
|
|
/vendor/bundle/
|
|
*.gem
|
|
/log/
|
|
/tmp/
|
|
|
|
# tea CLI's own local cache (e.g. `tea actions runs logs`)
|
|
/.tmp/
|
|
|
|
# Offline map tile data (large binary; obtained/generated locally,
|
|
# see docs/development.adoc)
|
|
/data/*.pmtiles
|
|
|
|
# User-uploaded GPX files
|
|
/data/gpx/*
|
|
!/data/gpx/.gitkeep
|
|
|
|
# Garmin LiveTrack session IDs received via webhook
|
|
/data/livetrack.json
|
|
|
|
# Editor / OS
|
|
.DS_Store
|
|
*.swp
|
|
|
|
# Local tooling settings
|
|
.claude/settings.local.json
|
|
|
|
# Deployment secrets (SESSION_SECRET, Gitea OAuth2 client id/secret) — lives
|
|
# only on the server, see docs/deployment.adoc
|
|
.env
|
|
|
|
# Written by the CI deploy job with the commit it deployed — never
|
|
# committed itself, see app.rb's REVISION
|
|
/REVISION
|