Azure-Samples / LUIS-DevOps-Template

Template repo encapsulating best engineering practices and DevOps using GitHub Actions for the development of a LUIS application.
MIT License
21 stars 17 forks source link

Fixes #44 Get LUIS keys at runtime AB#588 #49

Closed AndyCW closed 4 years ago

AndyCW commented 4 years ago

Add steps to luis_ci.yaml to fetch the LUIS Authoring Key and the Prediction Key at runtime and store in env variables. Because they have 'key' in the variable name, GHA automagically masks the value (handy). Update all subsequent sterps to get keys from env variables instead of secrets.

Remove the setup documentation about fetching the keys from Azure and storing them in GitHub Secrets. Update the Pipeline.md to describe new steps.

See https://github.com/AndyCW/AndyLUISDevOpsSample/runs/666883036?check_suite_focus=true for a sample run using these updates.

Fixes #44