From 5728851a76c826a4c35631b7462b344d2aac3bf3 Mon Sep 17 00:00:00 2001 From: Marlene <57748216+marlenezw@users.noreply.github.com> Date: Thu, 25 Jul 2024 12:42:11 +0000 Subject: [PATCH] Configure Azure Developer Pipeline --- .github/workflows/azure-dev.yml | 18 +++++++++--------- .github/workflows/evaluate.yml | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/azure-dev.yml b/.github/workflows/azure-dev.yml index 378afc4a..401ec162 100644 --- a/.github/workflows/azure-dev.yml +++ b/.github/workflows/azure-dev.yml @@ -28,15 +28,15 @@ jobs: AZURE_ENV_NAME: ${{ vars.AZURE_ENV_NAME }} AZURE_LOCATION: ${{ vars.AZURE_LOCATION }} # project specific - AZURE_OPENAI_ENDPOINT: $(AZURE_OPENAI_ENDPOINT) - AZURE_OPENAI_API_VERSION: $(AZURE_OPENAI_API_VERSION) - AZURE_OPENAI_4_EVAL_DEPLOYMENT_NAME: $(AZURE_OPENAI_4_EVAL_DEPLOYMENT_NAME) - AZURE_OPENAI_DEPLOYMENT_NAME: $(AZURE_OPENAI_DEPLOYMENT_NAME) - AZURE_OPENAI_35_TURBO_DEPLOYMENT_NAME: $(AZURE_OPENAI_35_TURBO_DEPLOYMENT_NAME) - AZURE_SEARCH_ENDPOINT: $(AZURE_SEARCH_ENDPOINT) - AZURE_SEARCH_INDEX_NAME: $(AZURE_SEARCH_INDEX_NAME) - BING_SEARCH_ENDPOINT: $(BING_SEARCH_ENDPOINT) - BING_SEARCH_KEY: $(secrets.BING_SEARCH_KEY) + AZURE_OPENAI_ENDPOINT: ${{ secrets.AZURE_OPENAI_ENDPOINT }} + AZURE_OPENAI_API_VERSION: ${{ secrets.AZURE_OPENAI_API_VERSION }} + AZURE_OPENAI_4_EVAL_DEPLOYMENT_NAME: ${{ secrets.AZURE_OPENAI_4_EVAL_DEPLOYMENT_NAME }} + AZURE_OPENAI_DEPLOYMENT_NAME: ${{ secrets.AZURE_OPENAI_DEPLOYMENT_NAME }} + AZURE_OPENAI_35_TURBO_DEPLOYMENT_NAME: ${{secrets.AZURE_OPENAI_35_TURBO_DEPLOYMENT_NAME }} + AZURE_SEARCH_ENDPOINT: ${{ secrets.AZURE_SEARCH_ENDPOINT }} + AZURE_SEARCH_INDEX_NAME: ${{ secrets.AZURE_SEARCH_INDEX_NAME }} + BING_SEARCH_ENDPOINT: ${{ secrets.BING_SEARCH_ENDPOINT }} + BING_SEARCH_KEY: ${{ secrets.BING_SEARCH_KEY }} steps: - name: Checkout diff --git a/.github/workflows/evaluate.yml b/.github/workflows/evaluate.yml index 6a9cdd44..bbf05248 100644 --- a/.github/workflows/evaluate.yml +++ b/.github/workflows/evaluate.yml @@ -22,15 +22,15 @@ jobs: AZURE_TENANT_ID: ${{ vars.AZURE_TENANT_ID }} AZURE_SUBSCRIPTION_ID: ${{ vars.AZURE_SUBSCRIPTION_ID }} AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - AZURE_OPENAI_ENDPOINT: $(AZURE_OPENAI_ENDPOINT) - AZURE_OPENAI_API_VERSION: $(AZURE_OPENAI_API_VERSION) - AZURE_OPENAI_4_EVAL_DEPLOYMENT_NAME: $(AZURE_OPENAI_4_EVAL_DEPLOYMENT_NAME) - AZURE_OPENAI_DEPLOYMENT_NAME: $(AZURE_OPENAI_DEPLOYMENT_NAME) - AZURE_OPENAI_35_TURBO_DEPLOYMENT_NAME: $(AZURE_OPENAI_35_TURBO_DEPLOYMENT_NAME) - AZURE_SEARCH_ENDPOINT: $(AZURE_SEARCH_ENDPOINT) - AZURE_SEARCH_INDEX_NAME: $(AZURE_SEARCH_INDEX_NAME) - BING_SEARCH_ENDPOINT: $(BING_SEARCH_ENDPOINT) - BING_SEARCH_KEY: $(secrets.BING_SEARCH_KEY) + AZURE_OPENAI_ENDPOINT: ${{ secrets.AZURE_OPENAI_ENDPOINT }} + AZURE_OPENAI_API_VERSION: ${{ secrets.AZURE_OPENAI_API_VERSION }} + AZURE_OPENAI_4_EVAL_DEPLOYMENT_NAME: ${{ secrets.AZURE_OPENAI_4_EVAL_DEPLOYMENT_NAME }} + AZURE_OPENAI_DEPLOYMENT_NAME: ${{ secrets.AZURE_OPENAI_DEPLOYMENT_NAME }} + AZURE_OPENAI_35_TURBO_DEPLOYMENT_NAME: ${{ secrets.AZURE_OPENAI_35_TURBO_DEPLOYMENT_NAME }} + AZURE_SEARCH_ENDPOINT: ${{ secrets.AZURE_SEARCH_ENDPOINT }} + AZURE_SEARCH_INDEX_NAME: ${{ secrets.AZURE_SEARCH_INDEX_NAME }} + BING_SEARCH_ENDPOINT: ${{ secrets.BING_SEARCH_ENDPOINT }} + BING_SEARCH_KEY: ${{ secrets.BING_SEARCH_KEY }} steps: - name: checkout repo content