Skip to content

ci: guard optional GitHub Pages deploys#94

Merged
knzeng-e merged 1 commit into
mainfrom
ci/guard-github-pages-deploy
Jul 16, 2026
Merged

ci: guard optional GitHub Pages deploys#94
knzeng-e merged 1 commit into
mainfrom
ci/guard-github-pages-deploy

Conversation

@knzeng-e

Copy link
Copy Markdown
Owner

Summary

  • guards both GitHub Pages deployment workflows behind repository variable ENABLE_GITHUB_PAGES=true
  • keeps optional Pages deploys from failing normal main CI while the repository Pages site is disabled
  • leaves the DotNS deployment workflow unchanged

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

  • git diff --check

Note: actionlint is not installed locally in this checkout.

@netlify

netlify Bot commented Jul 16, 2026

Copy link
Copy Markdown

Deploy Preview for muzinga canceled.

Name Link
🔨 Latest commit 1e1e703
🔍 Latest deploy log https://app.netlify.com/projects/muzinga/deploys/6a5931c0ba83740008268b50

@knzeng-e
knzeng-e merged commit e6a7e76 into main Jul 16, 2026
5 checks passed
@knzeng-e
knzeng-e deleted the ci/guard-github-pages-deploy branch July 16, 2026 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant