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

Issue in using enviournment variable - GITHUB_BASE_REF and GITHUB_HEAD_REF #13

Closed
gbohra opened this issue Jan 2, 2020 · 4 comments
Closed
Assignees

Comments

@gbohra
Copy link

gbohra commented Jan 2, 2020

Hi,

We are not able to use environment variable - GITHUB_BASE_REF and GITHUB_HEAD_REF in creating the slot command.
az webapp deployment slot create

We are using -slot along with GITHUB_BASE_REF or GITHUB_HEAD_REF. This is not passing blank value in slot name.

Can you check the issue?

Here is gist - https://gist.github.com/gbohra/c10ce7701e4fcdb2ac708a10727a870d

@anil-kumar-ma
Copy link

@gbohra : Is it resolved?

@jalajmsft jalajmsft self-assigned this Jan 6, 2020
@jalajmsft
Copy link
Contributor

Hey @gbohra , thank you for reporting this issue. We have made a fix to access environment variables with prefix GITHUB_* while executing the script in the release v1.0.2.

However, the user-defined environment variables will be still inaccessible. We are working on this.

@anweiss
Copy link

anweiss commented Jan 17, 2020

@jalajmsft any updates on this? it's a bit kludgy to have to append GITHUB_ to user-defined environment variables when used in an inlinescript

@jalajmsft
Copy link
Contributor

This is resolved and deployed.

Closing this issue. Feel free to re-open for further queries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants