Comments (1)
你好,请教一下这个帖子 使用 Travis 自动构建 Hexo 到 GitHub 的相关问题。
我直接复制你项目下的配置文件(去掉
- gulp
这步)和脚本,然后自己绑定了 Access Token,前面都过了,就是最后hexo deploy
失败,步骤都没错,问题应该还是认证出了问题。_config.yml 文件,我尝试修改过 repo 地址为 Https类, SSH类,修改 type 为 git 或者 https。都提示失败。
以下 log 是 type git, repo 地址 ssh类型出的结果。
$ hexo deploy INFO Deploying: git INFO Setting up Git deployment... Initialized empty Git repository in /home/travis/build/OHLIA/Wiki-site/.deploy_git/.git/ *** Please tell me who you are. Run git config --global user.email "[email protected]" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. fatal: empty ident name (for <>) not allowed FATAL Something's wrong. Maybe you can find the solution here: https://hexo.io/docs/troubleshooting.html Error: Spawn failed at ChildProcess.<anonymous> (/home/travis/build/OHLIA/Wiki-site/node_modules/hexo-util/lib/spawn.js:52:19) at emitTwo (events.js:126:13) at ChildProcess.emit (events.js:214:7) at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12) travis_time:end:1016f340:start=1566804459853647012,finish=1566804460828702185,duration=975055173 �[0Ktravis_fold:end:after_success �[0K Done. Your build exited with 0.
解决了,是环境变量没填入 travis-ci 里面。
from wiki-site.
Related Issues (20)
- Use Vagrant to unify development
- use docsify to pushlish api docs
- Global mixin router cause stack exceeded
- Management: abilities rank assess
- CSS vertical-align summary
- ES6 Iterator 迭代问题总结
- Dynamic scope & Static scope (Lexical scope | Closure)
- CSS BFC & IFC
- what impressive that i learn in the GoogleVoice script
- Nodejs render pixels as braille
- GitHub contributions heatmap in terminal
- “CAUTION: provisional headers are shown” in Chrome debugger HOT 1
- maximum lenght of HTTP URL
- 关于不同项目创建 gh-pages 的问题 HOT 1
- aliyun oss index problem
- 前端资源非覆盖式部署
- Web Worker
- XSS & CSRF summary
- css-loader using webpack alias path
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wiki-site.