Skip to content

Commit 98c135a

Browse files
author
Gil Greenberg
committed
Fix export
1 parent 98878b8 commit 98c135a

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/scripts/pr-comment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const {
99
} = process.env;
1010

1111
// Make a 💫
12-
export default makeAComment = async (commentContent) => {
12+
module.exports.makeAComment = async (commentContent) => {
1313
const prNumber = await fs.readFile(GITHUB_EVENT_PATH, (err, data) => {
1414
if (err) {
1515
throw err;

.github/workflows/scripts/theme-list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const Shopify = require('shopify-api-node');
2-
const makeAComment = require('./pr-comment');
2+
const makeAComment = require('./pr-comment').makeAComment();
33
require('dotenv').config();
44

55
/*

.github/workflows/shopify-ci-cd.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,7 @@ jobs:
5252
GITHUB_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
5353
GITHUB_REPOSITORY: ${{secrets.GITHUB_REPOSITORY}}
5454
GITHUB_EVENT_PATH: ${{secrets.GITHUB_EVENT_PATH}}
55+
56+
# Upload Theme to Shopify
57+
58+
# Check if live, then send comment

0 commit comments

Comments
 (0)