Skip to content

Get secrets and environment variables according to environment #19

@cortadocodes

Description

@cortadocodes

Bug report

What is the current behavior?

The environment variables and secrets in the cd workflow always use the main branch's values, regardless of the branch.

What is the expected behavior?

It should get the values for the current branch.

Proposed Solution

One way is to run the octue/get-deployment-info action before the reusable workflow to get the right branch name. Alternatively, it can be got from the GitHub Actions context.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUnintended behaviour in any area of the app

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions