How To Push Up Singe File With ThemeKit

For inserting new file to themekit

theme deploy --password=[your-api-password] --store=[your-store.myshopify.com] --themeid=[your-theme-id] --env=[environemnt-name] [path-to-file/file-name]

Deploy One file

theme deploy --env=development assets/test.min.js

config.yml example configurations

Without config.yml setup

theme deploy --password=[your-api-password] --store=[your-store.myshopify.com] --themeid=[your-theme-id] --env=[environemnt-name] [path-to-file/file-name]
EXP:

theme deploy --password=AFSJASFLDJ32R424 --store=test.myshopify.com --themeid=3242435425 --env=development assets/test.min.js
With config.yml and environment setup

EXP: Deploy One file

theme deploy --env=development assets/test.min.js
EXP: Deploy Mutiple Files

theme deploy --env=development assets/test.min.js assets/test-2.min.js
config.yml example configurations

development:
  password: 1232134124124adfasd32423
  theme_id: "93204212432"
  store: test.myshopify.com

Leave a comment

Your email address will not be published. Required fields are marked *