Code Monkey home page Code Monkey logo

Comments (8)

fuxiaohei avatar fuxiaohei commented on August 14, 2024

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.

fuxiaohei avatar fuxiaohei commented on August 14, 2024

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.

josephgodwinkimani avatar josephgodwinkimani commented on August 14, 2024

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.

fuxiaohei avatar fuxiaohei commented on August 14, 2024
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.

josephgodwinkimani avatar josephgodwinkimani commented on August 14, 2024

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.

fuxiaohei avatar fuxiaohei commented on August 14, 2024

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.

josephgodwinkimani avatar josephgodwinkimani commented on August 14, 2024

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.

fuxiaohei avatar fuxiaohei commented on August 14, 2024

Thanks a lot for your feedback. I will keep improve the project.

from pugo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.