Skip to content

Commit c988ebe

Browse files
committed
Picking up the correct generated files from dist folder
1 parent c78f5eb commit c988ebe

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/deploy-gh-pages.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,15 @@ jobs:
5151
# Create a temporary folder for deployment
5252
mkdir _site
5353
54-
# Copy the freshly generated contents of the 'dist' folder
55-
cp -r dist/transmute.mjs _site/
54+
# Created the generated 'dist' folder required inside '_site'
55+
mkdir -p _site/dist
56+
57+
# Selectively copy the freshly generated contents of the 'dist' folder
58+
cp dist/index.global.js _site/dist/index.global.js
59+
cp dist/index.mjs _site/dist/index.mjs
5660
5761
# Copy the contents of the 'data' folder
58-
cp -r data/* _site/
62+
cp -r data _site/
5963
6064
# Copy individual files
6165
cp index.html _site/

0 commit comments

Comments
 (0)