File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 2828 command : |
2929 mkdir /tmp/artifacts;
3030 cp starter-theme.zip /tmp/artifacts/theme.zip
31+ cp starter-theme.zip export/theme.zip
3132 ls
3233 - store_artifacts :
3334 path : /tmp/artifacts
35+ - store_artifacts :
36+ path : export
3437 # Upload Theme to Shopify
3538 - run : .circleci/theme-upload.js
3639 # List Shopify Themes
Original file line number Diff line number Diff line change @@ -33,10 +33,10 @@ const shopify = new Shopify({
3333 🌈 Create New Theme Based on Build
3434*/
3535const themeName = `Debut-${ Date . now ( ) } ` ;
36- const themeUrl = `${ process . env . CIRCLE_BUILD_URL } /artifacts/0/tmp/artifacts /theme.zip` ;
36+ const themeUrl = `${ process . env . CIRCLE_BUILD_URL } /artifacts/0/${ process . env . HOME } /project/export /theme.zip` ;
3737
3838console . log ( `${ process . env . CIRCLE_BUILD_URL } /artifacts/0/tmp/artifacts/theme.zip` ) ;
39- console . log ( `${ process . env . CIRCLE_BUILD_URL } /artifacts/0/${ process . env . HOME } /project/starter- theme.zip` ) ;
39+ console . log ( `${ process . env . CIRCLE_BUILD_URL } /artifacts/0/${ process . env . HOME } /project/export/ theme.zip` ) ;
4040
4141shopify . theme . create ( {
4242 name : themeName ,
You can’t perform that action at this time.
0 commit comments