-
When I provision and deploy a Function App, post deployment hook can access the FUNCTIONS_NAME output environment variable. But if I just do a deployment I cannot seem to access the environment variable. Is there anyway to get hold of the Endpoint URL in the postdeployment hook? Maybe related to #2389 |
Beta Was this translation helpful? Give feedback.
Answered by
wbreza
Aug 7, 2023
Replies: 1 comment 4 replies
-
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 forazd
try callingazd env refresh
beforeazd deploy
. This will hydrate all the bicep outputs and make them available as environment variables for your hooks.