Skip to content

refactor(netlify) Remove Pubnub from Netlify's app use App Action to trigger deploys [] - #11449

Draft
Franco Giachetta (FrancoGiachetta) wants to merge 5 commits into
contentful:masterfrom
FrancoGiachetta:netlify-app-changes
Draft

Franco Giachetta (FrancoGiachetta) wants to merge 5 commits into
contentful:masterfrom
FrancoGiachetta:netlify-app-changes

Conversation

@FrancoGiachetta

@FrancoGiachetta Franco Giachetta (FrancoGiachetta) commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Purpose

This PR makes the following changes:

  1. Removes the use of Pubnub from netlify's app
  2. Replaces the api call, done on the frontend, to deploy netlify's sites.

Approach

  1. It was done to avoid exposing buildHookIds on the frontend, which allow a certain user to do deploys arbitrarily very easily.

Testing steps

Only handlers.spec.js was changed to be aligned with the new result that the app action "Netlify build" returns.

Breaking Changes

  • Now "Netlify build" also may return an error with:
{
  "sucess": false,
  "error": "<error-message>"
}
  • Due to Pubnub's removal, is no longer possible to have netlify notify of events like successful/failed deploys. Users would need to check that information from netlify itself.

Dependencies and/or References

  • Removed pubnub 7.6.3.

@FrancoGiachetta Franco Giachetta (FrancoGiachetta) changed the title (refactor) Remove Pubnub from Netlify's app use App Action to trigger deploys (refactor) Remove Pubnub from Netlify's app use App Action to trigger deploys [] Dec 2, 2026
@FrancoGiachetta Franco Giachetta (FrancoGiachetta) changed the title (refactor) Remove Pubnub from Netlify's app use App Action to trigger deploys [] refactor(netlify) Remove Pubnub from Netlify's app use App Action to trigger deploys [] Dec 2, 2026
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