Skip to content

Commit

Permalink
action: testing
Browse files Browse the repository at this point in the history
  • Loading branch information
xCosmicOtter committed Oct 23, 2024
1 parent cd485ed commit 25d6a46
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,9 @@ jobs:
- run: docker tag ml_model xcosmicotter/mlops_tp1
- run: echo "${{ secrets.SECRET_MLOPS_TP1 }}" | docker login -u "${{ secrets.SECRET_MLOPS_TP1_USERNAME }}" --password-stdin
- run: docker push xcosmicotter/mlops_tp1:latest
- name: Install sshpass
run: sudo apt-get update && sudo apt-get install -y sshpass
- name: SSH into the server
run: |
- run: sudo apt-get update && sudo apt-get install -y sshpass
- run: |
sshpass -p "${{ secrets.SSH_PASSWORD }}" ssh -o StrictHostKeyChecking=no ubuntu@20.86.55.5
- run: docker pull xcosmicotter/mlops_tp1:latest
- run: docker run -d -p 80:80 xcosmicotter/mlops_tp1:latest

0 comments on commit 25d6a46

Please sign in to comment.