Giter VIP home page Giter VIP logo

Comments (5)

tvaughan avatar tvaughan commented on July 3, 2024

I suspect this is related to this problem #17. I think you still do not have the correct setup. You need to have the website source (e.g. the bits that include config.rb) on some branch other than master. Then in config.rb you need to deploy to the master branch, not gh-pages.

from middleman-deploy.

raybesiga avatar raybesiga commented on July 3, 2024

Thanks @tvaughan for getting back, the delayed response has been due to failure to access internet the past few days. Is it possible fro you to outline the correct procedure that I can follow to have the write setup, and to have it deploy the right way? I realize that I may have had my setup of the repo all wrong.

Does the name of the repo matter? How do i setup the git branching and all that such that it is a breeze to deploy the build files to raybesiga.github.com without losing the source files or repo? Thanks

from middleman-deploy.

tvaughan avatar tvaughan commented on July 3, 2024

The name of the repo doesn't matter but the type of repo does. For a repo like raybesiga.github.com you need to start with a clean repo, create a branch other than master, use middleman on that branch, and use master as the deploy branch in config.rb.

from middleman-deploy.

tvaughan avatar tvaughan commented on July 3, 2024

For example, in config.rb:

activate :deploy do |deploy|
  deploy.method = :git
  deploy.remote = "origin"
  deploy.branch = "master"
end

And, I repeat, the middleman sources (e.g. config.rb) are on a branch other than master.

from middleman-deploy.

raybesiga avatar raybesiga commented on July 3, 2024

Thanks @tvaughan :)

from middleman-deploy.

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.