The daily check keeps the community route PDF only in its private raw store (never published here). When that copy differs from "Threshing Options.pdf" in the bot's private repo, `python -m collection send-pdf` opens (or updates) a pull request there with the new PDF and the lines its text gained and lost, so Ken can update the hand-written routes in src/pdfRoutes.js (the bot does not read the PDF itself). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UCzTd31GphpMXDhQqWrCMQ
This commit is contained in:
@@ -86,6 +86,12 @@ jobs:
|
||||
with:
|
||||
path: ${{ runner.temp }}/raw-archive
|
||||
key: raw-archive-${{ hashFiles('data/manifest.json') }}
|
||||
- name: Send a changed route PDF to the bot (its private repo; the PDF is never published here)
|
||||
if: always() && steps.check.outcome == 'success'
|
||||
continue-on-error: true
|
||||
env:
|
||||
ATLAS_BOT_TOKEN: ${{ secrets.ATLAS_BOT_TOKEN }}
|
||||
run: python -m collection send-pdf
|
||||
- name: Open a pull request with the new data (it merges itself once CI passes)
|
||||
if: steps.check.outputs.changed == 'true' && !contains(steps.check.outputs.failed, 'build')
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user