Auto-deploy website after data processing completes#457
Merged
richarddushime merged 4 commits intomasterfrom Oct 20, 2025
Merged
Auto-deploy website after data processing completes#457richarddushime merged 4 commits intomasterfrom
richarddushime merged 4 commits intomasterfrom
Conversation
Co-authored-by: LukasWallrich <60155545+LukasWallrich@users.noreply.github.com>
…ents Co-authored-by: LukasWallrich <60155545+LukasWallrich@users.noreply.github.com>
Co-authored-by: LukasWallrich <60155545+LukasWallrich@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add auto-deploy trigger after data update
Auto-deploy website after data processing completes
Oct 19, 2025
Contributor
|
👍 All image files/references (if any) are in webp format, in line with our policy. |
Contributor
|
✅ This PR has been deployed to staging as part of an aggregated deployment. View at: https://staging.forrt.org |
1 similar comment
Contributor
|
✅ This PR has been deployed to staging as part of an aggregated deployment. View at: https://staging.forrt.org |
richarddushime
pushed a commit
that referenced
this pull request
Nov 13, 2025
* Initial plan * Add auto-deployment trigger after data processing completes Co-authored-by: LukasWallrich <60155545+LukasWallrich@users.noreply.github.com> * Fix production deployment condition to include repository_dispatch events Co-authored-by: LukasWallrich <60155545+LukasWallrich@users.noreply.github.com> * Improve production deployment condition for repository_dispatch events Co-authored-by: LukasWallrich <60155545+LukasWallrich@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: LukasWallrich <60155545+LukasWallrich@users.noreply.github.com>
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.
Problem
The data processing workflow runs nightly to update contributor data, curated resources, Google Analytics statistics, and other dynamic content. However, these updates were not being deployed to the live website until the next code change was pushed to master. This created a delay between data updates and their visibility on the site.
Solution
This PR implements automatic deployment after the data processing workflow completes by:
repository_dispatchtrigger to the deploy workflow that listens fordata-updateeventsrepository_dispatcheventsHow It Works
When the data processing workflow runs (either on schedule or manually):
repository_dispatcheventChanges
.github/workflows/deploy.yamlrepository_dispatchtrigger with event typedata-updaterepository_dispatchevents with proper logic:push/workflow_dispatch: requires master branchrepository_dispatch: always allowed (runs on default branch automatically).github/workflows/data-processing.ymlGITHUB_TOKENsecretBenefits
Fixes #456
Original prompt
Fixes #456
💡 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.