Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Commit c1dd9b6

Browse files
authored
Merge pull request #1 from uicrooks/dev
v1.0.1
2 parents 11d82b1 + bd29f92 commit c1dd9b6

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,15 @@ SHOPIFY_THEME_ID # theme-id (without quotation marks) - find the id either in sh
4040
3. Test the action by going to `actions``Shopify Settings Control` and click on `Run workflow`
4141
<!-- getting started (end) -->
4242

43+
<!-- published theme (start) -->
44+
## Published theme
45+
If you want to back up the settings for the published/main theme, pass the `--main` flag (shorthand `-m`) instead of the `--id` / `-i` option when initializing the config:
46+
47+
```yml
48+
npx themelab shopify:init -p ${{ secrets.SHOPIFY_API_PASSWORD }} -s ${{ secrets.SHOPIFY_STORE_URL }} -e ${{ secrets.SHOPIFY_ENV }} -m
49+
```
50+
<!-- published theme (end) -->
51+
4352
<!-- adjusting schedule (start) -->
4453
## Adjusting schedule
4554
By default, the action is set to run once every hour. You can adjust the `cron` schedule inside [shopify-settings-control.yml](.github/workflows/shopify-settings-control.yml) to change the interval.

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "shopify-settings-control",
33
"description": "Automatic Git version control for Shopify settings_data.json via CI/CD",
44
"author": "Sergej Samsonenko <[email protected]>",
5-
"version": "1.0.0",
5+
"version": "1.0.1",
66
"license": "MIT",
77
"scripts": {
88
"shopify:init": "npx themelab shopify:init",

0 commit comments

Comments
 (0)