Skip to content

Keystatic GH App Config for Production #405

Answered by NeeshSamsi
NeeshSamsi asked this question in Q&A
Discussion options

You must be logged in to vote

This is what I did so far. Feel free to let me know if there is a better recommended version

  1. Log out on the local version
  2. Temporarily delete the .env (This contains credentials of your current GH App with local url configuration)
  3. Now try to login on the local version - It should prompt you to create a new GH App for Keystatic
  4. Enter your deployed app's URL and follow the steps to create & authorise the GH App. Now you should have a .env file generated
  5. This .env file can be uploaded to your deployment and you can restore your temporarily deleted .env to be used in the local development.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by NeeshSamsi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant