Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.travis.yml疑问 #25

Open
williamqian opened this issue Mar 23, 2018 · 2 comments
Open

.travis.yml疑问 #25

williamqian opened this issue Mar 23, 2018 · 2 comments
Labels

Comments

@williamqian
Copy link

williamqian commented Mar 23, 2018

  provider: npm
  email: "$NPM_EMAIL"
  api_key: "$NPM_TOKEN"
  skip_cleanup: true

我也是这么写的,不过travis 报错了,我看官方文档里面email和api_key都是直接写出来的,请教该怎么写

@proYang
Copy link
Owner

proYang commented Mar 23, 2018

image
登录 travis 之后,需要在 travis 环境变量中添加,这样就不会暴露Ttoken。

@proYang proYang added the 疑问 label Mar 23, 2018
@williamqian
Copy link
Author

谢谢,官方guide里没找到这个说明

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants