Skip to content

Commit

Permalink
docs(wordpress): fix broken assets link after migration (#29389)
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav committed Feb 8, 2021
1 parent d719644 commit b93b8bd
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ Navigate to your GatsbyJS WordPress settings by visiting this path in your WP in

You should see the following "Builds Webhook" field at the top of the page:

![WPGatsby Builds Webhook Screenshot](/docs/assets/wp-gatsby-builds-webhook-settings.png)
![WPGatsby Builds Webhook Screenshot](../../docs/assets/wp-gatsby-builds-webhook-settings.png)

Enter the Webhook that should be used, a POST request will be sent to the Webhook when content is updated in WordPress.

If you're using [Gatsby Cloud](https://www.gatsbyjs.com/dashboard/sites), you can find this webhook by navigating to the "Site Settings" tab for your Gatsby instance and then navigating to "Webhook" in the left-side menu.

Below your "Preview Webhook" you should see your "Builds Webhook". Copy this webhook and enter it into your WordPress settings.

![Gatsby Cloud Builds Webhook Screenshot](/docs/assets/gatsby-cloud-builds-webhook.png)
![Gatsby Cloud Builds Webhook Screenshot](../../docs/assets/gatsby-cloud-builds-webhook.png)

Now that your Builds webhook is set up, when content is updated in WordPress your content will update in 4 to 12 seconds if you're using Gatsby Cloud with Incremental Builds, and in 45 seconds to a few minutes (and beyond) if you're using other services! :rocket:

Expand All @@ -41,7 +41,7 @@ You will see 4 fields related to Gatsby Preview. "Enable Gatsby Preview?", "Prev

If you don't see this settings page, or you don't see these 4 fields, make sure the latest version of [WPGatsby](https://github.com/gatsbyjs/wp-gatsby) is installed in your WordPress instance.

![wp-gatsbyjs-preview-settings](/docs/assets/wp-gatsbyjs-preview-settings.png)
![wp-gatsbyjs-preview-settings](../../docs/assets/wp-gatsbyjs-preview-settings.png)

#### 1. Check the "Enable Gatsby Preview?" Checkbox

Expand All @@ -53,13 +53,13 @@ This field should be filled with the public frontend URL of your Gatsby Preview

To find your **Preview Instance URL**, navigate to the "Preview" tab in [Gatsby Cloud](https://www.gatsbyjs.com/dashboard/sites), wait for your first Preview build to complete, and then copy the frontend URL from above the build history list in the center of the page.

![Gatsby Cloud Preview frontend URL Screenshot](/docs/assets/gatsby-cloud-preview-frontend-url.png)
![Gatsby Cloud Preview frontend URL Screenshot](../../docs/assets/gatsby-cloud-preview-frontend-url.png)

#### 3. Fill the "Preview Webhook" Field

You can find your **Preview webhook** by navigating to "Site Settings" in Gatsby Cloud and then navigating to "Webhooks" via the left-side menu.

![Gatsby Cloud Preview Webhook URL](/docs/assets/gatsby-cloud-preview-webhook-url.png)
![Gatsby Cloud Preview Webhook URL](../../docs/assets/gatsby-cloud-preview-webhook-url.png)

#### 4. Double check the "Preview JWT secret" field

Expand Down

0 comments on commit b93b8bd

Please sign in to comment.