From f9b8fa09a0f5dee7d2cd0d98b64f35529653a559 Mon Sep 17 00:00:00 2001 From: Justin Yoo Date: Sun, 1 Oct 2023 11:58:51 +0900 Subject: [PATCH] Update README --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 20d8cc7..fe05ee5 100644 --- a/README.md +++ b/README.md @@ -20,10 +20,12 @@ This provides sample Blazor apps that summarise a YouTube video transcript to a # PowerShell $AZURE_ENV_NAME="summariser$(Get-Random -Min 1000 -Max 9999)" $GITHUB_USERNAME="{{GITHUB_USERNAME}}" + $GITHUB_REPOSITORY_NAME="{{GITHUB_REPOSITORY_NAME}}" # Bash AZURE_ENV_NAME="summariser$RANDOM" GITHUB_USERNAME="{{GITHUB_USERNAME}}" + GITHUB_REPOSITORY_NAME="{{GITHUB_REPOSITORY_NAME}}" ``` 1. Run the commands below to provision Azure resources: @@ -34,6 +36,8 @@ This provides sample Blazor apps that summarise a YouTube video transcript to a azd up ``` + > **Note:** You may be asked to enter your GitHub username/orgname and repository name where your forked repository is located. + 1. Get the endpoint, API key and deployment ID. ```bash @@ -70,6 +74,17 @@ This provides sample Blazor apps that summarise a YouTube video transcript to a --query "[0].name" -o tsv) ``` +### Deploying Applications to Azure + +1. Run the commands below to deploy apps to Azure: + + ```bash + az login + gh auth login + azd pipeline config + gh workflow run "Azure Dev" --repo $GITHUB_USERNAME/$GITHUB_REPOSITORY_NAME + ``` + ### Deprovision Azure OpenAI Service 1. To avoid unexpected billing shock, run the commands below to deprovision Azure resources: