Add daily .zip docs release workflow#169
Add daily .zip docs release workflow#169PratikP1 wants to merge 3 commits intoCommunity-Access:mainfrom
Conversation
Creates a GitHub Actions workflow that: - Runs daily at 6:00 AM UTC with manual dispatch for first run - Zips docs/ (Markdown) and html/docs/ (HTML) into a single archive - Only creates a new release if content has changed in the last 24 hours - Names zip as Git-Going-With-Git-yyyy-mm-dd.zip - Tags releases as vyyyy-mm-dd and marks latest - Retains only the 10 most recent releases
There was a problem hiding this comment.
Pull request overview
Adds an automated GitHub Actions workflow to publish daily GitHub Releases containing zipped docs/ (Markdown) and html/docs/ (HTML), with a manual trigger for the first run and cleanup of older releases.
Changes:
- Introduces a scheduled + manual GitHub Actions workflow to package docs into a date-stamped zip and publish a GitHub Release.
- Skips release creation when no docs changes are detected.
- Deletes same-day releases before recreating them and prunes old releases beyond the most recent 10.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
Uses the most recent vyyyy-mm-dd release tag as the baseline for change detection. This avoids missing changes if a scheduled run is skipped due to runner outages or cron delays.
Serializes workflow runs so a manual dispatch during a scheduled run cannot race on tag deletion and release creation.
|
Thanks for putting this together Pratik! A few questions before we move forward:
Happy to revisit once we sort these out. |
Summary
docs/(Markdown) andhtml/docs/(HTML)Git-Going-With-Git-yyyy-mm-dd.zipwith release tagsvyyyy-mm-ddlatestand retains only the 10 most recent releasesTest plan
workflow_dispatchto verify first rundocs/andhtml/docs/foldersvyyyy-mm-dd) andlatesttag assignment