Comments (15)
試著在 _config.yml 填入
deploy:
type: github
repository: [email protected]:trai25/furtee.github.com.git
branch: master
看看
from hexo.
还是不行,_config.yml 好像不接受这样的设置呢,报错如下:
You should configure deployment settings in _config.yml first!
Type:
github, heroku, rsync
More info: http://zespia.tw/hexo/docs/deploy.html
from hexo.
deploy:
type: github
repository: [email protected]:trai25/furtee.github.com.git
branch: master
deploy設定要加縮排,否則無法辨認
from hexo.
@tommy351 还是不行,缩排以后 hexo generate
和 hexo deploy
的结果如下:
hexo generate
:
Loading.
Generating.
Site generated in 0.343s.
hexo deploy
:
Clearing.
Copying files.
# On branch master
nothing to commit, working directory clean
from hexo.
因為本地端已經沒有東西能夠commit了,刪除.deploy資料夾後,在重新執行一次
rm -rf .deploy
hexo setup_deploy
hexo deploy
from hexo.
hexo deploy
结果如下:
Clearing.
Copying files.
[master a19020d] Site updated: Fri Jan 04 2013 00:56:20 GMT+0800 (CST)
20 files changed, 2045 insertions(+), 1 deletion(-)
create mode 100644 2013/01/03/hello-world/index.html
create mode 100644 archives/2013/01/index.html
create mode 100644 archives/2013/index.html
create mode 100644 archives/index.html
create mode 100644 css/font/fontawesome-webfont.eot
create mode 100644 css/font/fontawesome-webfont.svg
create mode 100644 css/font/fontawesome-webfont.ttf
create mode 100644 css/font/fontawesome-webfont.woff
create mode 100644 css/style.css
create mode 100644 fancybox/blank.gif
create mode 100644 fancybox/fancybox_loading.gif
create mode 100644 fancybox/fancybox_overlay.png
create mode 100644 fancybox/fancybox_sprite.png
create mode 100644 fancybox/jquery.fancybox.css
create mode 100644 fancybox/jquery.fancybox.pack.js
rewrite index.html (100%)
create mode 100644 js/gallery.js
create mode 100644 js/jquery.imagesloaded.min.js
create mode 100644 js/moment.min.js
create mode 100644 js/twitter.js
To [email protected]:trai25/furtee.github.com.git
+ 8aff73e...a19020d master -> master (forced update)
Deploy complete.
master
分支的内容有所变化 https://github.com/trai25/furtee.github.com
但 GitHub Page http://furtee.github.com 依然是404……求解
有没有可能是我在此之前漏掉了某个环节的操作?
from hexo.
username.github.com的username必須與使用者名稱相同,也就是說只有在repository為trai25.github.com時才有效,其他repository皆為username.github.com/repository
from hexo.
哦,原来如此,果然是低级错误……外行真麻烦,要认真学习了。
最后一个问题:
我用户名的 trai25.github.com 现在是一个 Octopress.
如果我把 hexo 的 repository 设置为 trai25.github.com/hexo 是否两个blog都能保留下来呢?
万分感谢!
from hexo.
只要把repository的名稱設為hexo,訪問trai25.github.com/hexo應該就可以了
from hexo.
弄了半天还是不行,应该是我有一些基础概念不清楚造成的,看来我得再学习学习先。
感谢 @tommy351 不厌其烦~!:-)
from hexo.
因為本地端已經沒有東西能夠commit了,刪除.deploy資料夾後,在重新執行一次
rm -rf .deploy
hexo deploy
@tommy351 提出的这个方法是可以解决的,刚试过
from hexo.
@tommy351 删除 .deploy文件可以实现提交
from hexo.
@tommy351 删除 .deploy文件可以实现提交.thx.
from hexo.
from hexo.
额,发完就看到问题了,弄好了,谢谢
from hexo.
Related Issues (20)
- .j2 file in code_dir causing rendering error HOT 5
- `include_code` tag is broken in Hexo 7.2.0 HOT 3
- Can't find theme when deploying hexo on github pages HOT 4
- [Bug 🐛] Table not shown when inside a quote HOT 5
- :name parameter in permalink cannot work as expected. HOT 2
- Remove bluebird HOT 1
- > Error: Spawn failed at ChildProcess. (/data/data/com.termux/files/home/blog/node_modules/hexo-util/lib/spawn.js:51:21) at ChildProcess.emit (node:events:513:28) at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12) emm不知道为什么
- Insert image failed HOT 2
- Set Hexo's EventEmitter.MaxListeners to 100 HOT 5
- relative path referencing of images HOT 1
- auto_spacing: true 不起作用 HOT 2
- An error occurred while running "hexo g": no such file or directory, mkdir 'H:\blog\public\:' HOT 5
- Filters do not allow adding new properties to posts HOT 2
- 代码片段中 HTML 片段会被渲染成 HTML,升级7.3.0后无法构建。HTML fragments in code snippets are rendered as HTML and cannot be built after upgrading 7.3.0.
- After Enabling "post_asset_folder: true", Only One Format of Posts Can Be Rendered HOT 3
- markdown文件里的HTML标签不会被正确地渲染 HTML tags in markdown files are not rendered correctly
- Support to load ES module plugin HOT 6
- hexo init出现错误
- 如果能够支持主题内部的TS编译就太好了 HOT 1
- Hexo does not load workspaces plugins
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 hexo.