Forked from hughker/codeship-to-shopify-theme-deploy.sh
Last active
June 21, 2018 16:25
-
-
Save mlocher/400642ba2eeae48a737c to your computer and use it in GitHub Desktop.
Deploy a Shopify theme from Codeship
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem install shopify_theme | |
theme configure SHOPIFY_API_KEY SHOPIFY_API_PASSWORD SHOPIFY_STORE_URL SHOPIFY_THEME_ID | |
git diff-tree -r --no-commit-id --name-only --diff-filter=ACMRT $COMMIT_ID | xargs theme upload | |
git diff-tree -r --no-commit-id --name-only --diff-filter=D $COMMIT_ID | xargs theme remove |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls -lha | |
gem install shopify_theme | |
theme configure SHOPIFY_API_KEY SHOPIFY_API_PASSWORD SHOPIFY_STORE_URL SHOPIFY_THEME_ID | |
theme check | |
git diff-tree -r --no-commit-id --name-only --diff-filter=ACMRT $COMMIT_ID | |
git diff-tree -r --no-commit-id --name-only --diff-filter=ACMRT $COMMIT_ID | xargs theme upload | |
git diff-tree -r --no-commit-id --name-only --diff-filter=D $COMMIT_ID | |
git diff-tree -r --no-commit-id --name-only --diff-filter=D $COMMIT_ID | xargs theme remove |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Information about Theme Config Variables can be found at https://github.com/hughker/shopify_theme#configuration
Huge thanks to hughker for sharing the script!