Skip to content

Commit 5556642

Browse files
committed
ci: fix post build
1 parent 823706c commit 5556642

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/workflows/cd-npm.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ jobs:
2828
- name: Build
2929
run: npm run build
3030

31-
- name: Post build
32-
run: npm run postbuild
33-
3431
- name: Publish package on npmjs.org
3532
run: npm publish ./storybook-static --access public
3633
env:

postbuild.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const fs = require('fs');
22

3-
fs.copyFileSync('./LICENSE', './storybook-static/LICENSE');
4-
fs.copyFileSync('./package.json', './storybook-static/package.json');
5-
fs.copyFileSync('./README.md', './storybook-static/README.md');
3+
fs.copyFileSync('./LICENSE', './dist/LICENSE');
4+
fs.copyFileSync('./package.json', './dist/package.json');
5+
fs.copyFileSync('./README.md', './dist/README.md');

0 commit comments

Comments
 (0)