Copilot/fix GitHub actions workflow again#830
Merged
aaronpowell merged 3 commits intostagedfrom Feb 27, 2026
Merged
Conversation
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes the GitHub Actions workflow triggering mechanism by ensuring the website deployment workflow is properly triggered after the publish workflow completes. The previous push-based trigger wouldn't work because pushes made by GITHUB_TOKEN don't trigger other workflows. The solution implements manual workflow dispatch using the GitHub CLI.
Changes:
- Added
actions: writepermission to the publish workflow to enable workflow dispatch - Added a manual dispatch step in publish.yml to trigger deploy-website.yml after pushing to main
- Removed the push trigger from deploy-website.yml and made it workflow_dispatch only
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/publish.yml | Added actions: write permission and a step to manually dispatch the deploy-website workflow after publishing to main |
| .github/workflows/deploy-website.yml | Removed push trigger and kept only workflow_dispatch, since GITHUB_TOKEN pushes don't trigger other workflows |
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.
Pull Request Checklist
npm startand verified thatREADME.mdis up to date.Description
Type of Contribution
Additional Notes
By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.