ci: guard optional GitHub Pages deploys#94
Merged
Conversation
✅ Deploy Preview for muzinga canceled.
|
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
Root cause
Main run https://github.com/knzeng-e/dotify/actions/runs/29528003548 built the web app successfully, then failed in actions/configure-pages@v5 with:
Get Pages site failed. Please verify that the repository has Pages enabled and configured to build using GitHub Actions.The action's enablement input requires a token other than GITHUB_TOKEN with admin/pages permissions, so the least fragile CI fix is to make Pages deployment opt-in until the repo is actually configured for Pages.
Validation
Note: actionlint is not installed locally in this checkout.