Add daily .zip docs release workflow#169
Open
PratikP1 wants to merge 3 commits intoCommunity-Access:mainfrom
Open
Add daily .zip docs release workflow#169PratikP1 wants to merge 3 commits intoCommunity-Access:mainfrom
PratikP1 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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