Created
July 24, 2023 14:18
-
-
Save deangrant/25d704a845a2458b58f5e5b0899e81eb to your computer and use it in GitHub Desktop.
Code snippet to create zip package and publish to Azure Function App
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm prune --production | |
zip -r app.zip . --exclude @.funcignore --exclude .funcignore | |
az functionapp deployment source config-zip -g ${MY_RESOURCE_GROUP} -n ${MY_APP_NAME} --src app.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment