DataJet
  • Welcome to DataJet
  • Scripts
    • Introduction
    • Scripts
      • Input
      • HTTP
      • Scheduled
      • Event
      • Shipping Rate
      • Email
    • Creating a custom script
  • Liquid
    • Introduction
    • Tags
      • exit
      • function
      • json
      • push
      • run
    • Filters
      • array_difference
      • array_equal
      • array_intersection
      • array_symmetric_difference
      • base64_decode
      • base64_encode
      • concat
      • content
      • email
      • encode_uri
      • file
        • multipart
        • url
        • content
      • find
      • find_exp
      • flat
      • flow
      • flow_v2
      • ftp
      • graphql
      • group_by
      • group_by_exp
      • hmac_sha256
      • http
      • in_groups_of
      • in_timezone
      • log
      • parse_json
      • parse_csv
      • parse_xml
      • pop
      • push
      • random
      • remove_prop
      • rest
      • run
      • sha1
      • sum
      • time_add
      • time_subtract
      • type
      • where_exp
  • Misc
    • Credits and usage
    • GitHub Integration
      • Track changes in a script's source code
      • Connect development stores with development branches
      • Use one codebase across multiple Shopify stores
    • Functions
    • Variables
    • Shopify Flow Integration
      • V1
      • V2
    • Processing user submitted forms
Powered by GitBook
On this page
  1. Misc
  2. GitHub Integration

Connect development stores with development branches

PreviousTrack changes in a script's source codeNextUse one codebase across multiple Shopify stores

Last updated 3 months ago

You can use GitHub integration to create development environments for your scripts.

A single GitHub repository might be connected to multiple DataJet apps across multiple stores. Additionally, a single script might be connected to a different branch. This allows you to connect your production store scripts with main branch in your repository and your development store scripts with any other branch (e.g. development).

We will reuse the repository we created as part of the . Start by creating development branch in your GitHub repository. With two branches in your repository, the main branch will be connected to production Shopify store, while development branch can be connected to the development store.

Now you can work on any script updates in your development store. When the changes are ready to be deployed, simply merge your development branch to your main branch. The production store will be automatically updated with the latest script version.

setup