Skip to content

Commit cf60f12

Browse files
Merge pull request #18 from scheduleonce/ultragroot/ONCEHUB-52065
https://scheduleonce.atlassian.net/browse/ONCEHUB-52065
2 parents 34141ef + 3a18d08 commit cf60f12

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

deploy.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ set -e
44
node package-deploy/npm-login.js $(cat "/etc/npm-cred/NPM_AUTH_TOKEN")
55
npm whoami
66
npm i
7-
npm publish
7+
npm run package
8+
filename="$(npm pack --dry-run | tail -n 1)"
9+
npm publish dist/ui/$filename --registry=https://registry.npmjs.org/
810

9-
echo "package pushed to NPM successfully"
11+
echo "$filename package pushed to NPM successfully"

0 commit comments

Comments
 (0)