[WIP] Update GitHub pages action to download data files only#44
[WIP] Update GitHub pages action to download data files only#44ScriptSmith merged 3 commits intomainfrom
Conversation
… files Co-authored-by: ScriptSmith <17246877+ScriptSmith@users.noreply.github.com>
There was a problem hiding this comment.
Pull Request Overview
This PR restructures the GitHub workflow to optimize repository size by moving GTFS data processing from git commits to GitHub Pages artifacts. The changes implement a new deployment strategy where data files are generated during the Pages build process rather than being committed to the repository.
- Updated GTFS data workflow to create artifacts instead of committing files
- Created new GitHub Pages deployment workflow that downloads and processes data during build
- Modified documentation to reflect the new artifact-based approach
Reviewed Changes
Copilot reviewed 3 out of 14 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| README.md | Updated documentation to describe new artifact-based data handling and daily processing schedule |
| .github/workflows/update-gtfs.yml | Converted from committing data files to uploading them as artifacts with reduced permissions |
| .github/workflows/deploy-pages.yml | New workflow for GitHub Pages deployment that processes GTFS data during build |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
|
||
| - name: Create pages directory | ||
| run: | | ||
| mkdir -p _site |
There was a problem hiding this comment.
The wildcard pattern 'icon-*.png' may fail if no matching files exist, causing the cp command to fail. Consider using a more robust approach or adding error handling to prevent build failures when icon files are missing.
| mkdir -p _site | |
| mkdir -p _site | |
| shopt -s nullglob |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.