Update the website deploy step to trigger when using workflow_dispatch - #261
Open
ruokun-niu wants to merge 1 commit into
Open
Update the website deploy step to trigger when using workflow_dispatch#261ruokun-niu wants to merge 1 commit into
ruokun-niu wants to merge 1 commit into
Conversation
Signed-off-by: Ruokun Niu <ruokunniu@microsoft.com>
ruokun-niu
requested review from
a team,
NValsan,
agentofreality,
amansinghoriginal,
Copilot and
danielgerlag
July 31, 2026 17:38
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the GitHub Pages deployment workflow so the deploy job runs both on pushes to main and on manual workflow_dispatch runs (while still restricting deployment to the main ref).
Changes:
- Adjusted the
deployjobif:condition to allow bothpushandworkflow_dispatchevents. - Kept the deployment restricted to
refs/heads/mainto prevent deploying from non-main manual dispatches.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
danielgerlag
approved these changes
Jul 31, 2026
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.
Description
This pull request updates the deployment workflow for the website to allow deployments to be triggered both by a direct push to the
mainbranch and manually via the "workflow_dispatch" event.Workflow improvements:
.github/workflows/website.yaml: Modified the deployment job condition to trigger on bothpushandworkflow_dispatchevents for themainbranch.Type of change
Fixes: #issue_number