Code Monkey home page Code Monkey logo

Comments (11)

emmenko avatar emmenko commented on May 24, 2024 2

Unfortunately github pages has a limit on the number of times you can redeploy.
But we can give it a try (I would execute the task here)

from nodejs.

wizzy25 avatar wizzy25 commented on May 24, 2024

Repo documentation is up-to-date https://github.com/commercetools/nodejs/blob/master/docs/sdk/api/sdkMiddlewareAuth.md#createauthmiddlewareforclientcredentialsflowoptions

But published documentation is behind
https://commercetools.github.io/nodejs/sdk/api/sdkMiddlewareAuth.html#named-arguments-options
@emmenko

from nodejs.

hisabimbola avatar hisabimbola commented on May 24, 2024

Can you create a PR for this @wizzy25 ?

from nodejs.

Siilwyn avatar Siilwyn commented on May 24, 2024

Would be nice if @emmenko could shine some light on this first, he probably knows what's going on.

from nodejs.

wizzy25 avatar wizzy25 commented on May 24, 2024

@hisabimbola I tried running the publish-docs script but I get this error:
line 3: pushd: _book: No such file or directory
The error apparently comes from here: https://github.com/commercetools/nodejs/blob/master/scripts/publish-docs#L3
Would really be nice if @emmenko could shine some light

from nodejs.

Siilwyn avatar Siilwyn commented on May 24, 2024

docs:prepare and docs:build are needed before running that script afaik.

from nodejs.

emmenko avatar emmenko commented on May 24, 2024

There is a docs:publish task. That's the one you want to run ;)

from nodejs.

Siilwyn avatar Siilwyn commented on May 24, 2024

That's not what we're after though, this should be automated.

from nodejs.

Siilwyn avatar Siilwyn commented on May 24, 2024

The limit is 10 redeploys per hour? Should be enough if we only do this on changes to master.

from nodejs.

hisabimbola avatar hisabimbola commented on May 24, 2024

Added this to the deployment pipeline, if there is any rate limiting issue we revert to old or find a better solution..

from nodejs.

hisabimbola avatar hisabimbola commented on May 24, 2024

After merging this, I notice that there was no deployment on travis and this is because we are using the SSH git url, and that will require us to setup SSH on travis (a whole lot of stuff in there to get that to work). So what I did was use http and github access token already on travis to push to the repo.

Commit regarding that here 705dab1

I hope it works now 🤞

from nodejs.

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.