From 7450d1d3142178d48b8514ccdf1a002f6a90b7ba Mon Sep 17 00:00:00 2001 From: jem Date: Thu, 9 Jul 2020 17:00:03 +0200 Subject: [PATCH] fix the npm publish --- .github/workflows/build.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 457dcdf..b372443 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -97,11 +97,11 @@ jobs: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} run: | mkdir -p target/npm-build - cp public/js/main.js target/npm-build/dda-masto-embedd.js - cp target/dda-masto-embedd.js.sha256 target/npm-build/ - cp target/dda-masto-embedd.js.sha512 target/npm-build/ - cp package.json target/npm-build/ - cp README.md target/npm-build/ - cp LICENSE target/npm-build/ - tar -cz -C target/npm-build -f target/npm-build.tgz . - npm publish ./target/npm-build.tgz --access public + 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/dda-masto-embedd/ + cp target/dda-masto-embedd.js.sha512 target/npm-build/dda-masto-embedd/ + cp package.json target/npm-build/dda-masto-embedd/ + cp README.md target/npm-build/dda-masto-embedd/ + cp -r doc target/npm-build/dda-masto-embedd/ + cp LICENSE target/npm-build/dda-masto-embedd/ + npm publish target/npm-build --access public