Skip to content

Commit b1cd0ae

Browse files
committed
Update build.yml
1 parent f3f6591 commit b1cd0ae

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,15 @@ jobs:
2727
run: npm ci
2828

2929
- name: Build Library
30-
run: npm run prepack
30+
run: |
31+
npm run prepack
32+
mkdir -p deploy
33+
cp -r dist deploy/
34+
cp package.json deploy/
3135
3236
- name: Publish to Build Branch
3337
uses: JamesIves/github-pages-deploy-action@v4
3438
with:
3539
branch: build
36-
folder: dist
40+
folder: deploy
3741
clean: true

0 commit comments

Comments
 (0)