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 CI 部署你的 Hexo 博客 | Moren's #9

Open
morenyang opened this issue May 17, 2018 · 1 comment
Open

使用 Travis CI 部署你的 Hexo 博客 | Moren's #9

morenyang opened this issue May 17, 2018 · 1 comment

Comments

@morenyang
Copy link
Owner

http://yangteng.me/blog/2018/20180517deploy-hexo-with-travis/

@morenyang
Copy link
Owner Author

由于Travis CI中自带的yarn版本为1.3.2,因此可能会遇到由于yarn版本过低引起构建错误的问题。可以在.travis.yml 文件中加入如下配置:

before_install:
  - curl -o- -L https://yarnpkg.com/install.sh | bash
  - export PATH="$HOME/.yarn/bin:$PATH"

在运行build前重新安装一次最新版的yarn

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

No branches or pull requests

1 participant