Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

How to use a specific commit in the Payload repo instead of a released package

default discord avatar
tinouti2 years ago
3

I'd like to take advantage of a fix (

https://github.com/payloadcms/payload/pull/2776

) and can't really wait for the next release (important deadline to hit).


How do I go about loading payload from a specific commit instead of a released package?



I've seen this shared before but can't find it again, so asking here for future use. 😊



@360823574644129795

iirc you might have answered this in the past? 👀

  • discord user avatar
    jacobsfletch
    2 years ago

    You can link Payload locally, with your local Payload instance on any commit you need



    Our plugin repos have some detailed instructions on how to do this, check this out and let me know if you have any questions

    https://github.com/payloadcms/plugin-form-builder#development

    It is also possible to install a branch from your package.json



    payload: https://github.com/payloadcms/payload.git#branch-name
  • discord user avatar
    alessiogr
    2 years ago

    Wanted to say that - that would require you to have the build folder uploaded to github as well as far as I know



    So, best for branches on your own fork

  • default discord avatar
    tinouti2 years ago

    Ah awesome, I'll give that a try, thank you guys! 🙏

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.