Skip to content

Deploy the site through Actions instead of the legacy build - #7

Merged
DenisDrobyshev merged 1 commit into
mainfrom
fix-pages-deploy
Aug 10, 2026
Merged

Deploy the site through Actions instead of the legacy build#7
DenisDrobyshev merged 1 commit into
mainfrom
fix-pages-deploy

Conversation

@DenisDrobyshev

Copy link
Copy Markdown
Member

The site has not deployed since 5 August. The legacy Pages build has failed on the last three pushes — e8aa3ac, 39c94af, 58f748f — each with duration: 0 and no log beyond Page build failed. All three touched only workflow files, so nothing user-visible has been lost yet; the next commit to index.html would have been.

The GitHub API confirms it:

"status": "errored", "build_type": "legacy",
"error": { "message": "Page build failed." }

A legacy build cannot be diagnosed — there is no log — and it notifies nobody when it breaks.

What this changes

Deployment moves to Actions: a real build with a log, a status check on the commit, and a failure notification.

The artefact is also assembled by name rather than by copying the repository, so scripts/ and README.md stop being served as part of the site. A new top-level directory now has to be added to the workflow deliberately instead of being published because it happened to exist.

After merging

Pages must be switched from branch-based to Actions in the repository settings, or via:

gh api -X POST /repos/DrobyshevDev/DrobyshevDev.github.io/pages -f build_type=workflow

Until that switch, the legacy build stays authoritative and keeps failing.

The legacy branch build has failed on every push since 6 August: three in a
row, on commits that touched only workflow files, each with a duration of zero
and no log beyond "Page build failed". Nothing about it can be diagnosed from
the outside, and it notifies nobody, so the site has been one content commit
away from silently not shipping.

Deploying through Actions gives the build a log, a status check and a failure
notification. The artefact is also assembled by name rather than by copying the
repository, so scripts/ and README.md stop being served as part of the site.
@DenisDrobyshev
DenisDrobyshev merged commit 46a6e8c into main Aug 10, 2026
5 checks passed
@DenisDrobyshev
DenisDrobyshev deleted the fix-pages-deploy branch August 10, 2026 12:46
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