Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up Shopify webhook to trigger rebuild on product update #4

Closed
jlengstorf opened this issue Jun 19, 2018 · 2 comments
Closed

Set up Shopify webhook to trigger rebuild on product update #4

jlengstorf opened this issue Jun 19, 2018 · 2 comments
Assignees
Labels
🎯 Company enhancement New feature or request

Comments

@jlengstorf
Copy link
Contributor

No description provided.

@jlengstorf
Copy link
Contributor Author

Configured webhooks in Shopify to rebuild on any product changes (create, update, delete).

@jlengstorf
Copy link
Contributor Author

jlengstorf commented Jun 30, 2018

For reference, these are the steps to make it happen:

Set up a build hook on Netlify

netlify-build-hook

  1. Go to https://app.netlify.com/sites/YOUR_SITE/settings/deploys
  2. Click "Add build hook"
  3. Choose a name that describes what will trigger the rebuild
  4. Choose which branch to rebuild (probably master)
  5. Click "Save"

Set up webhooks in Shopify

shopify-webhooks

  1. Go to https://YOUR_STORE.myshopify.com/admin/settings/notifications
  2. Scroll to the bottom to see webhooks
  3. Click "create webhook"
  4. Choose the triggering event type from the "Event" dropdown (we set up three: "Product creation", "Production deletion", "Product update")
  5. Leave "Format" alone — we don't care about it in this use case
  6. Paste the Netlify build hook URL into the "URL" field

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎯 Company enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant