Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set environment variable branch name #3398

Closed
m47730 opened this issue Jan 19, 2018 · 2 comments
Closed

Set environment variable branch name #3398

m47730 opened this issue Jan 19, 2018 · 2 comments
Labels
type/question Issue needs no code to be fixed, only a description on how to fix it yourself.

Comments

@m47730
Copy link

m47730 commented Jan 19, 2018

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

@lafriks
Copy link
Member

lafriks commented Jan 19, 2018

@lafriks lafriks added the type/question Issue needs no code to be fixed, only a description on how to fix it yourself. label Jan 19, 2018
@m47730
Copy link
Author

m47730 commented Jan 19, 2018

i completely missed this information!
I rewrote some line of the script and now it's working as i like!

Thanks

@m47730 m47730 closed this as completed Jan 19, 2018
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/question Issue needs no code to be fixed, only a description on how to fix it yourself.
Projects
None yet
Development

No branches or pull requests

2 participants