Skip to content

Commit

Permalink
updated the workflow with env to use
Browse files Browse the repository at this point in the history
  • Loading branch information
Santhosha Rajashekar committed Jun 10, 2024
1 parent 2b29582 commit cad5283
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/mlops-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ env:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
environment:
name: dev

steps:
- name: Checkout repository
Expand All @@ -25,12 +27,12 @@ jobs:
python -m pip install --upgrade pip
pip install -r ./ml/requirements.txt
- name: Configure Azure credentials
uses: azure/login@v1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- name: "Az CLI login"
uses: azure/login@v1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: Set up Azure Machine Learning
run: |
Expand Down

0 comments on commit cad5283

Please sign in to comment.