Skip to content

Post deployment hook and environment variable #2603

Answered by wbreza
rajyraman asked this question in Q&A
Discussion options

You must be logged in to vote

It appears that this deployment is occurring with a Github action? If azd provision is not called, then the outputs from the Bicep provisioning are not persisted in Github anywhere. To ensure that all Bicep outputs are available for azd try calling azd env refresh before azd deploy. This will hydrate all the bicep outputs and make them available as environment variables for your hooks.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@rajyraman
Comment options

@vhvb1989
Comment options

@wbreza
Comment options

Answer selected by rajyraman
@rajyraman
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants