Skip to content

Commit

Permalink
Also set API Key as environment variable in deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
emshyu authored Nov 16, 2024
1 parent 7aa8c4f commit c5befd5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/f24_translator-service-hunan-hunters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ jobs:
- name: Unzip artifact for deployment
run: unzip release.zip

- name: Set API key as environment variable
run: echo "API_KEY=${{ secrets.OPENAI_LLM_API_KEY }}" >> $GITHUB_ENV

- name: 'Deploy to Azure Web App'
uses: azure/webapps-deploy@v2
id: deploy-to-webapp
Expand Down

0 comments on commit c5befd5

Please sign in to comment.