Coder Social home page Coder Social logo

Comments (8)

mniak avatar mniak commented on June 20, 2024 3

In my case I needed to use gh-pages -d web_deploy. (Maybe I misunderstood something).
But then it worked very well after accepting the solution of our master @kalinchernev.

from create-openapi-repo.

kalinchernev avatar kalinchernev commented on June 20, 2024 2

@grodgersAtlas

  • install package gh-pages like this
  • add a gh-pages script like this

The reason you can use gh-pages cli directly like this comes from npm path magic. It's quite safe with node LTS or up.

Then you can have a script like this, it's just a combination of other scripts for super-lazy people like me.

from create-openapi-repo.

grodgersAtlas avatar grodgersAtlas commented on June 20, 2024 1

@kalinchernev or @rodrigojv ,
Can one of you explain, in detail, the steps for modifying the build and deployment process? I'm still a novice in this area, so I understand the concept of what "installed gh-pages instead of deploy-to-gh-pages" means, but I'm not sure exactly how I need to modify the package.json file or if/where "dist === web_deploy" needs to be specified.

Any further help is appreciated as I am running into similar problems with the deployment process as well.
Thanks!

from create-openapi-repo.

Kcin1993 avatar Kcin1993 commented on June 20, 2024 1

For someone has same issue to deploy on gh-pages. Following steps are work for me.

  1. add gh-pages module from npm npm install gh-pages
  2. add new line scripts in package.json "gh-pages": "gh-pages -d web_deploy"
  3. run npm run gh-pages
  4. trigger travis CI. It should be pass.
  5. Check repo's setting. Make sure gh-pages is use gh-pages branch

from create-openapi-repo.

ets avatar ets commented on June 20, 2024 1

fwiw - the defaults all worked for me (I didn't have to make any of the modifications described in the comments above) but I did have to manually create a gh-pages branch first. Before that the Travis build was failing when it attempted to clone that "gh-pages" branch that didn't yet exist.

from create-openapi-repo.

rodrigojv avatar rodrigojv commented on June 20, 2024

Having the same issue, and this worked for me.

Thanks for the work on this project! 🎉

from create-openapi-repo.

jaynarathod avatar jaynarathod commented on June 20, 2024

Thanks @RomanGotsiy ! The above worked for me, adding a new branch called "gh-pages"
But the API documentation I see is not what my API specs have.I see the default echo and user APIs in docs? Anyone know why?

from create-openapi-repo.

RomanHotsiy avatar RomanHotsiy commented on June 20, 2024

This is out of scope now.

from create-openapi-repo.

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.