Skip to content

Commit

Permalink
Update cml.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ayush14rastogi authored Aug 27, 2023
1 parent 0b9fba8 commit 5ff84b6
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/cml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,8 @@ jobs:
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
key: ${{ secrets.SSH_PASSWORD }}


- name: Deploying latest sdp in k8s
run: |
echo "$KUBE_CONFIG" > kube-config
kubectl --kubeconfig=kube-config apply -f ~/mlops/deployment.yaml
env:
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
password: ${{ secrets.SSH_PASSWORD }}
- name: Deploy kubernete
run: |
sshmlops
kubectl apply -f ~/mlops/deployment.yaml

0 comments on commit 5ff84b6

Please sign in to comment.