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.

Can't clone template due to force-push error

default discord avatar
oldmanpewpewlast year
3

I tried saying the payload app can be removed from branch protection rules, but that still didn't work.

  • discord user avatar
    denolfe
    last year

    Are you creating this on your personal or a GitHub organization? Errors like these sometimes have to do with how your organization is configured.

  • default discord avatar
    oldmanpewpewlast year

    It was on my organization which does have a no force push on main restriction. What i tried to do was let it fail once, then remove the restriction from the payloadcms github integration entity itself - but that didnt work.



    So im debating disabling the entire no force push to main for the whole org - but wanted to try a couple other routes first

  • discord user avatar
    denolfe
    last year

    The alternative here is to just start a project locally using create-payload-app and creating the got repo manually. Then in Payload cloud, using the import existing repo option.

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.