Comments (8)
in master
branch, It changes strategy..
You can read https://github.com/go-xiaohei/pugo/blob/master/doc/source/page/en/docs/deploy/3-git.md to try again.
If fail again, feedback here
from pugo.
If in 0.9.0 version,
http://pugo.io/docs/deploy-platform.html
I think you can try this way again.
git clone https://{user}:{[email protected]/username/repo-name
git checkout gh-pages
pugo --dest="git://repo-name?commit=your-commit-message"
from pugo.
Using PuGo version 0.9.0101<2016-01-01>:
A. Trying this:
git clone https://{jgodwin13}:{[email protected]/jgodwin13/rogue
git checkout gh-pages
pugo --dest="git://rogue?commit="puGo is fun"
Results in:
Incorrect usage
....
flag provided but not defined: -dest
B. Read: https://github.com/go-xiaohei/pugo/blob/master/doc/source/page/en/docs/deploy/3-git.md and Trying this:
pugo build --dest="[dest]"
pugo deploy --local="dest" --repo="rogue" --branch="gh-pages"
Resulted in this:
No help topic for 'deploy'
from pugo.
pugo --dest="git://rogue?commit="puGo is fun"
I'm so sorry. The documentation is incorrect.
pugo build --dest="git://....."
Be careful about the quotes.
By the way, I will release 0.10.0 in this month with new rich documentation.
It should be more clear than old rough one.
from pugo.
ok I did:
pugo build --dest="[email protected]:jgodwin13/rogue.git?commit=puGo is fun"
Results in:
INFO[03-24|10:21:37] [email protected]:jgodwin13/rogue.git?commit=puGo
EROR[03-24|10:21:38] Build.Compile error="open [email protected]:jgodwin13/rogue.git?commit=puGo/2016/3/16/Central African Republic Mineral exploitation and corruption.html: The filename, directory name, or volume label syntax is incorrect."
CRIT[03-24|10:21:38] Build.Fail error="open [email protected]:jgodwin13/rogue.git?commit=puGo/2016/3/16/Central African Republic Mineral exploitation and corruption.html: The filename, directory name, or volume label syntax is incorrect."
What does that mean? pugo --build
works successfully but the above doesnt. I tried to remove that post but the next immediate older post after it would get flagged too with same error.
from pugo.
in 0.9.0.. The steps:
- git clone
[email protected]:jgodwin13/rogue.git
the repo is in rogue.git/ directory
- run build command, compile files to the git repository
pugo build --dest="git://rogue.git?commit='new-commit'"
it means that build files to rogue.git and execute git push
with new commit with message new-commit
.
I'm so sorry about the confusing answers and documentation.
from pugo.
It worked the result is contained in rogue.git. The problem is when i push the files to gh-pages
the links to other files in all html files have to be edited: loading posts
, images
, css
, javascript...
Hope the latest version of PuGo will solve this. Thanks fuxiaohei
from pugo.
Thanks a lot for your feedback. I will keep improve the project.
from pugo.
Related Issues (20)
- 内置服务增加一个md文件编辑功能 HOT 2
- 用的第三方包出错了,有些方法已经被弃用了。 HOT 2
- Too many open files HOT 4
- add details for post <!--more-->
- Embedded theme into pugo HOT 2
- disable post and page functions in meta file HOT 1
- optimize "copy“ progress HOT 1
- add json data support to page
- use file ModTime as post/page date if not set HOT 1
- add more types for model.Tree HOT 1
- more error-tolerant cases handler HOT 1
- model.Tree is able to get current node, get parent node for creating breadcrumb HOT 1
- 希望把依赖放到vender里面 HOT 4
- add tags.html to display tags list
- 增加一个给文章自动生成目录结构的功能 HOT 2
- official site update
- 发布静态文件到github和coding均无法加载js和css文件 HOT 3
- enable to change size of posts per page
- 请教一下编译的问题 HOT 9
- OpenBSD [ amd64 ] Support !
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 pugo.