Skip to content

Conversation

@jameslamb
Copy link
Member

Trying to fix publishing, which has been broken like this since December 22:

Deploying to main site URL...
 ›   Warning: JSONHTTPError:  404
 ›   Warning: 
{
  "name": "JSONHTTPError",
  "status": 404,
  "json": {
    "code": 404,
    "message": "Not Found"
  }
}

 ›   JSONHTTPError: Not Found

(build link)

Notes for Reviewers

If you see this message, this isn't ready for review. Opening to test.

push:
branches:
- main
- fix-publishing
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Publishing from this branch should be fine. I'm not actually changing the docs, and the site is broken anyway!

ARGS="--prod"
fi
netlify deploy "$ARGS" \
netlify deploy \
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looked for the available flags like this:

docker run \
    --rm \
    -it node:lts-alpine3.23 \
    sh

npm install --global --force @aschmidt8/netlify-cli

netlify deploy --help

Hopefully getting more logs will help us here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seeing some interesting things in the debug logs (logs link).

siteId: ***
 ›   Error: Failed retrieving addons for site ***: Not Found. Double-check your login status with 'netlify status' or contact support with details of your error.
 ›   Warning: Failed to resolve config, falling back to offline resolution

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Next I looked into the configuration for the site:

NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_API_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_DOCS_SITE_ID }}

Updated NETLIFY_SITE_ID to the value I see in the project configuration (https://app.netlify.com/projects/docs-rapids-ai/configuration/general), that did not fix anything.

Then updated NETLIFY_AUTH_TOKEN to a newly-generated token and that worked!

https://github.com/rapidsai/docs/actions/runs/21077092892/job/60621594737

Confirmed in this new build on main: https://github.com/rapidsai/docs/actions/runs/21077222946

@netlify
Copy link

netlify bot commented Jan 16, 2026

Deploy Preview for docs-rapids-ai ready!

Name Link
🔨 Latest commit 5e9f9f9
🔍 Latest deploy log https://app.netlify.com/projects/docs-rapids-ai/deploys/696a86c72c997400087666f2
😎 Deploy Preview https://deploy-preview-737--docs-rapids-ai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@jameslamb
Copy link
Member Author

The fix was updating a token, no code changes required, closing this and deleting the branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants