Skip to content

Commit 443f4b3

Browse files
committed
??
1 parent d552337 commit 443f4b3

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.circleci/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,12 @@ jobs:
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

.circleci/theme-upload.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ const shopify = new Shopify({
3333
🌈 Create New Theme Based on Build
3434
*/
3535
const 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

3838
console.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

4141
shopify.theme.create({
4242
name: themeName,

0 commit comments

Comments
 (0)