提交 21bc807d 编写于 作者: CoCo_Code_Op2's avatar CoCo_Code_Op2 ⛹🏽

更新.codechina-ci.yml

上级 118533c1
......@@ -23,12 +23,12 @@ publish:
script:
# If no .npmrc if included in the repo, generate a temporary one
- echo $NPM_PUBLISH_TOKEN
- echo "https//registry.npmjs.org/:_authToken=\${NPM_PUBLISH_TOKEN}"
- echo "https//registry.npmjs.org/:_authToken=${NPM_PUBLISH_TOKEN}"
- |
if [[ ! -f .npmrc ]]; then
echo 'No .npmrc found! Creating one now. Now we will generate one'
{
echo "https//registry.npmjs.org/:_authToken=\${NPM_PUBLISH_TOKEN}"
echo "https//registry.npmjs.org/:_authToken=${NPM_PUBLISH_TOKEN}"
} >> .npmrc
fi
- echo "Created the following .npmrc:"; cat .npmrc
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册