Skip to content

Conversation

@Caranell
Copy link
Member

added with { type: "json" }; to fix builds

Copy link
Member

@0xngmi 0xngmi left a comment

Choose a reason for hiding this comment

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

can you make sure that if the scripts fail the whole build fails? to avoid the issue we saw before

Updates build.sh to check the exit status of post-export.sh. If post-export fails but the build succeeded, the build status is updated to reflect the failure, ensuring accurate reporting of build results.
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Oct 28, 2025

Deploying chainlist with  Cloudflare Pages  Cloudflare Pages

Latest commit: 35c83f2
Status:🚫  Build failed.

View logs

@Caranell
Copy link
Member Author

@mintdart it doesn't work tho? (removed the fix to trigger error)
Screenshot 2025-10-28 at 20 50 14

@Caranell
Copy link
Member Author

Screenshot 2025-10-28 at 20 55 12

I was thinking about adding this to exit 1 if generation script fails

@0xngmi
Copy link
Member

0xngmi commented Oct 28, 2025

if that doesnt work, can also add a try/catch that exits with 1 on the catch

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.

4 participants