Skip to content

Building a branch #45

@wbobeirne

Description

@wbobeirne

I'm trying to use my actions CI to do both my production and staging deploys. Unfortunately I was using netlify/actions/build for production, but when I went to set it up for staging (commits to my develop branch are what we consider staging) I didn't see an option to set a branch or contexts. As far as I can see, it'll just always use the production branch.

I would have liked to PR in an option for this, but there is no public documentation for the /api/v1/github/$GITHUB_REPOSITORY/build endpoint, so I assume it's for internal use only. Perhaps the better way for me to do this is with netlify/actions/cli using the build command?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions