Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Impossible to set branch deployment options with this action? #119

Open
nedtwigg opened this issue Jan 25, 2024 · 1 comment
Open

Impossible to set branch deployment options with this action? #119

nedtwigg opened this issue Jan 25, 2024 · 1 comment

Comments

@nedtwigg
Copy link

I have a single git repo which drives two different Cloudflare Pages.

  • selfie.dev is on branch deploy: release is production, selfie.dev/* is preview, works great!
    • image
  • kdoc.selfie.dev comes from the same repo, so it's not allowed to be on branch deploy, so I'm using this action, which only runs on the release branch
    • https://github.com/diffplug/selfie/blob/main/.github/workflows/publish-kdoc.yml
    • image
    • but looking at the deployments, the pushed to release are only preview. I have to push from main to count as production
    • image
    • but I don't want to deploy from main, and there's no way to change that because that settings window doesn't show up in the settings
    • The branch name is used by Cloudflare Pages to determine if the deployment is production or preview. Read more about git branch build controls.

    • How do I get those branch build controls? Am I missing something?
@seia-soto
Copy link

The branch control doesn't work on tag based automation. I still don't want to make my CI run every time on push. Have anyone figured out?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants