You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Job to be done: Give tighter feedback loops to content editors in Sanity i.e., editing content and seeing what the changes would look like real time.
There are some configuration options for Sanity client that we set (in shopify admin) depending on an environment variable PREVIEW_MODE. Then we conditionally set sanity content to display:
I believe both preview and production are wrong environments for this so I created a new staging environment that Shopify gives a unique URI https://staging-121a330....o2.myshopify.dev. The next step will be to configure Github Actions to update the branch anytime we merge into main. Is this a reasonable approach?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Job to be done: Give tighter feedback loops to content editors in Sanity i.e., editing content and seeing what the changes would look like real time.
There are some configuration options for Sanity client that we set (in shopify admin) depending on an environment variable PREVIEW_MODE. Then we conditionally set sanity content to display:
I believe both preview and production are wrong environments for this so I created a new staging environment that Shopify gives a unique URI
https://staging-121a330....o2.myshopify.dev
. The next step will be to configure Github Actions to update the branch anytime we merge intomain
. Is this a reasonable approach?Beta Was this translation helpful? Give feedback.
All reactions