Github deploy erases functions, schemas, etc

Hi, I have a repo with a Realm app already configured and I want to create a new app using the same config, but the config is ignored it seems:

  • create a new Realm app using the web UI
  • link it to my repo that already has functions and schemas
  • after clicking create, Realm creates the app but pushes a new commit that erases almost everything, leaving me with an empty new app

What’s the workflow to prevent this?


You can create the app without linking. After creating you can link and enable auto deployment. So you just do a push to your repository and it will automatically deploy to Realm.