Skip to content

Commit e3ab0f3

Browse files
Merge pull request #405 from kinde-oss/Fix/Preview-code-not-sync-changes
Fix/preview code not sync changes
2 parents b2dc939 + 766a7eb commit e3ab0f3

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

src/content/docs/design/customize-with-code/connect-repo.mdx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@ To enable your custom code to override Kinde page design, you need to set up and
1616
1. Go to **Design > Custom code**.
1717
2. Select the option to **Connect repo**. This will take you to the **Settings > Git Repo** page where you can manage your repo connection for design and workflows.
1818
3. If you don’t already have a repo set up for workflows, select **Connect GitHub**.
19-
4. Follow the prompts to choose a repo and branch.
20-
5. Once connected, choose if you want to **set synced code live immediately**. This is more efficient for dev and testing environments, but you might switch this off in your production environment.
19+
4. Follow the prompts to connect a repo and branch.
20+
21+
## Option to enable code preview
22+
23+
If you are on the Kinde Plus or Scale plan, you can enable a code preview before you deploy new code to be live. This is helpful for checking the design before making it public in your production environment. If you have a free or Pro plan, we recommend you preview designs in a non-production environment before syncing in production.
2124

2225
## Set up the Git directory structure
2326

src/content/docs/design/customize-with-code/manage-custom-code-deployment.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ relatedArticles:
1111

1212
Each time your code is synced to Kinde, a new deployment is created. A deployment is a unique point-in-time process that checks the code, which can then be made live.
1313

14-
## Turn off the auto go live function
14+
## Enable code preview
1515

16-
To fully manage deployments and control which ones go live, switch off the auto-go-live function. It's okay to leave this on for non-production environments, but you don't want this on for production.
16+
Kinde Plus and Scale plan customers are able to preview the design before setting the code live in the production environment.
1717

18-
In **Settings > Git repo**, switch off the **Set synced code live immediately** option**.**
18+
In **Settings > Git repo**, switch on the **Enable preview mode** option.
19+
20+
If this setting is not available to you as a Free or Pro plan user, we suggest you use non-production environments to check your designs before deploying to production.
1921

2022
## Sync code
2123

0 commit comments

Comments
 (0)