Skip to content

Commit 0040925

Browse files
committed
Added Continous Deployment to Kubernetes.
1 parent 8ab9dc3 commit 0040925

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,11 @@ jobs:
3232
3333
- name: SSH into instance and restart Minikube
3434
run: |
35+
mkdir -p ~/.ssh # Create .ssh directory if it doesn't exist
36+
touch ~/.ssh/known_hosts # Create known_hosts file if it doesn't exist
3537
ssh-keyscan -H ${{ secrets.HOST }} >> ~/.ssh/known_hosts
3638
chmod 600 ~/.ssh/id_rsa
3739
ssh -o StrictHostKeyChecking=no -i ~/.ssh/id_rsa ${{ secrets.USERNAME }}@${{ secrets.HOST }} "minikube start --driver=docker"
3840
env:
39-
SSH_AUTH_SOCK: /dev/null
41+
SSH_AUTH_SOCK: /dev/null
42+

0 commit comments

Comments
 (0)