Skip to content

Allow per PR/branch deployment #1086

Description

@braska

I want to have ability to do isolated deployments per PR/branch. Every such deployment should be done to the same account.

When I try to describe such PR/branch deployment pipeline with CDK, there is no way to use ${{ github.ref_name }} or ${{ github.event.pull_request.number }} in stage name.

Ideally, I would like to pass stageName while calling .addStage(...) and make it dependent on variables that will be later accessible in Github Workflow during execution.

Is there any trick that would allow me to do per PR/branch deployments?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions