Skip to content

Commit 969a545

Browse files
Merge pull request #29 from scheduleonce/orion/vulnerability-fix
Added chown permission
2 parents 96b7048 + 4cff298 commit 969a545

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

deploy.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ set -e
44
node package-deploy/npm-login.js $(cat "/etc/npm-cred/NPM_AUTH_TOKEN")
55
npm whoami
66
npm i
7+
sudo chown -R 65532:65532 "/root/.npm"
78
npm run package
89
filename="$(npm pack --dry-run | tail -n 1)"
910
echo "$1"

0 commit comments

Comments
 (0)