soroban-abacus-flashcards/.github/workflows
Thomas Hallock 4b04e43ff8 fix(deployment): pass git info to Docker build for deployment info modal
This commit fixes two critical production issues:

1. **Flashcard generator dependencies** - Added all required dependencies to Dockerfile:
   - Typst for PDF generation
   - Python pip and setuptools
   - Python packages (pyyaml, Pillow, imagehash)
   - packages/core directory with generate.py script

2. **Deployment info modal** - Fixed git commit hash display on production:
   - Modified generate-build-info.js to accept env vars as fallback when .git is unavailable
   - Updated Dockerfile to accept GIT_* build arguments
   - Updated GitHub Actions workflow to pass git information during Docker build

The deployment info modal (Ctrl+Shift+I) will now show the correct commit hash,
branch, and build time on production, matching the behavior on dev.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-18 21:23:15 -05:00
..
deploy-storybook.yml fix: prevent database imports from being bundled into client code 2025-10-10 11:40:46 -05:00
deploy.yml fix(deployment): pass git info to Docker build for deployment info modal 2025-10-18 21:23:15 -05:00
publish-abacus-react.yml fix: prevent database imports from being bundled into client code 2025-10-10 11:40:46 -05:00
release.yml fix: prevent database imports from being bundled into client code 2025-10-10 11:40:46 -05:00
templates-test.yml fix: prevent database imports from being bundled into client code 2025-10-10 11:40:46 -05:00
update-abacus-examples.yml fix: prevent database imports from being bundled into client code 2025-10-10 11:40:46 -05:00
update-template-examples.yml fix: prevent database imports from being bundled into client code 2025-10-10 11:40:46 -05:00
verify-examples.yml fix: prevent database imports from being bundled into client code 2025-10-10 11:40:46 -05:00