fix the npm publish
This commit is contained in:
parent
d2d6e30a7f
commit
7450d1d314
1 changed files with 8 additions and 8 deletions
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
|
@ -97,11 +97,11 @@ jobs:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
mkdir -p target/npm-build
|
mkdir -p target/npm-build
|
||||||
cp public/js/main.js target/npm-build/dda-masto-embedd.js
|
cp public/js/main.js target/npm-build/dda-masto-embedd/dda-masto-embedd.js
|
||||||
cp target/dda-masto-embedd.js.sha256 target/npm-build/
|
cp target/dda-masto-embedd.js.sha256 target/npm-build/dda-masto-embedd/
|
||||||
cp target/dda-masto-embedd.js.sha512 target/npm-build/
|
cp target/dda-masto-embedd.js.sha512 target/npm-build/dda-masto-embedd/
|
||||||
cp package.json target/npm-build/
|
cp package.json target/npm-build/dda-masto-embedd/
|
||||||
cp README.md target/npm-build/
|
cp README.md target/npm-build/dda-masto-embedd/
|
||||||
cp LICENSE target/npm-build/
|
cp -r doc target/npm-build/dda-masto-embedd/
|
||||||
tar -cz -C target/npm-build -f target/npm-build.tgz .
|
cp LICENSE target/npm-build/dda-masto-embedd/
|
||||||
npm publish ./target/npm-build.tgz --access public
|
npm publish target/npm-build --access public
|
||||||
|
|
Loading…
Reference in a new issue