You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HttpError: Not Found
at /home/runner/work/_actions/actions/deploy-pages/v4/node_modules/@octokit/request/dist-node/index.js:124:1
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at createPagesDeployment (/home/runner/work/_actions/actions/deploy-pages/v4/src/internal/api-client.js:125:1)
at Deployment.create (/home/runner/work/_actions/actions/deploy-pages/v4/src/internal/deployment.js:74:1)
at main (/home/runner/work/_actions/actions/deploy-pages/v4/src/index.js:30:1)
Error: Failed to create deployment (status: 404) with build version a1ea16db01f25d44559533ab7018626dca0205d2. Request ID 8881:29425A:2B2F8E0:5630B9F:67769CBB Ensure GitHub Pages has been enabled: https://github.com/jsoref/trippy/settings/pages
If this is expected outcome for anyone who forks a repository that uses this action to get a failure, it'd be nice if it was a single pretty failure. If it is too long to fit into a single error box, then it'd be better for it to not have any error boxes and use a github step summary instead.
What this action is doing today is generating 3 error boxes:
Mostly content free
Incredibly long and not terribly helpful
Hard to read (because it doesn't use line feeds) and buries the main problem behind a bunch of very long hex runs
Ideally the second wouldn't be present if the system can determine that GitHub Pages aren't enabled. And ideally the first and last would be unified into a single message:
GitHub Pages does not appear to be enabled.
Visit https://github.com/$GITHUB_REPOSITORY/settings/pages and ensure
- Source: Deploy from a branch
- Branch: $GITHUB_BRANCH
Technical details:
Failed to create deployment (status: 404) for $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/commit/$GITHUB_SHA.
Request ID: $REQUEST_ID
(where $GITHUB_SERVER_URL, $GITHUB_REPOSITORY, $GITHUB_SHA and $GITHUB_BRANCH are filled in appropriately based on the current run... and $REQUEST_ID is whatever that random set of hex runs is...)
Note that using a url instead of a random hex run improves readability.
The text was updated successfully, but these errors were encountered:
Here's a fairly typical run:
https://github.com/jsoref/trippy/actions/runs/12583591554
Annotations
3 errors and 2 warnings
deploy
deploy
deploy
If this is expected outcome for anyone who forks a repository that uses this action to get a failure, it'd be nice if it was a single pretty failure. If it is too long to fit into a single error box, then it'd be better for it to not have any error boxes and use a github step summary instead.
What this action is doing today is generating 3 error boxes:
Ideally the second wouldn't be present if the system can determine that GitHub Pages aren't enabled. And ideally the first and last would be unified into a single message:
(where
$GITHUB_SERVER_URL
,$GITHUB_REPOSITORY
,$GITHUB_SHA
and$GITHUB_BRANCH
are filled in appropriately based on the current run... and$REQUEST_ID
is whatever that random set of hex runs is...)Note that using a url instead of a random hex run improves readability.
The text was updated successfully, but these errors were encountered: