Skip to content
This repository was archived by the owner on Jun 11, 2022. It is now read-only.
This repository was archived by the owner on Jun 11, 2022. It is now read-only.

Proper way of using HEROKU_SLUG_COMMIT as a compile time constant #127

Closed
@cancan101

Description

@cancan101

I would like to use HEROKU_SLUG_COMMIT as a compile time constant. I am confused if I should follow https://github.com/mars/create-react-app-buildpack#user-content-add-on-config-vars as that mentions "set-up & use Runtime configuration to access the variables". Is there no way I can just access the constant as as constant? I'm not worried about that value changing between pipeline deploys as it is the git hash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions