Skip to content

Set environment variable branch name #3398

@m47730

Description

@m47730

I'm using a post hook script to automatic deploy a project of mine, and i'm using environment variables to do a simple script.
Everything is working except in the variables i miss the branch name. Is it possible to add it?
Sorry, i'm very new to gitea and go, so i haven't made a pull request.
I think is a useful addition without any harm.

For reference: #316 and #317

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/questionIssue needs no code to be fixed, only a description on how to fix it yourself.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions