Push To Github (JSON Schema)

This guide assumes that you already have a schema in your CoreModels space, See also:


  1. From the features tray, Channels β†’ GitHub

  2. Choose the 'JSON Schema' Format.

  3. Select the Space that you want to export your schema from.

  4. Select the profile that includes the mappings that will guide the export process.

  5. Click on 'GitHub File' which will open a modal to help you with selecting the destination file.

  6. Select the root node that should be used for the export, and click 'Preview'

CoreModels will fetch the file and compare the schemas, it will show you the comparison results in two different views, the 'File Compare' and the 'Changes Grid'.

Github Push - file comparison
Github Push - Changes grid
  1. The final step is to proceed to pushing the changes to github:

    1. You can either 'Push directly' by adding the commit message and clicking 'Commit changes'

    2. Or "Create a Pull Request", which will:

      1. Create a new branch

      2. Create a PR to merge the new branch to the selected branch from the settings step.

Last updated