Skip to content

Commit

Permalink
updated the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Santhosha Rajashekar committed Jun 10, 2024
1 parent 770eef3 commit 2b29582
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/mlops-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on: [push]
env:
workspace-name: aml-ws-mlops
resource-group: rg-mlops
sub-id: 20671c75-cecd-4a9d-9dfb-98defacfaec2

jobs:
build-and-deploy:
Expand Down Expand Up @@ -34,15 +35,15 @@ jobs:
- name: Set up Azure Machine Learning
run: |
az extension add -n azure-cli-ml
az ml workspace configure -w your-workspace-name -g your-resource-group --subscription your-subscription-id
az ml workspace configure -w ${{ env.workspace-name }} -g ${{ env.resource-group }} --subscription ${{env.sub-id}}
- name: Upload dataset
run: |
az ml data create -f data.yaml
az ml data create -f ./ml/data.yaml
- name: Submit training run
run: |
az ml job create --file train.yaml
az ml job create --file ./ml/train.yaml
# - name: Register the model
# run: |
Expand Down

0 comments on commit 2b29582

Please sign in to comment.