Skip to content

Commit 20ef6c5

Browse files
committed
deploying
1 parent ca2aa1a commit 20ef6c5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/secured-CICD.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,9 @@ jobs:
130130
- name: SSH into EC2 and deploy
131131
run: |
132132
ssh -v -o StrictHostKeyChecking=no -i ec2_key.pem ubuntu@${{ secrets.K8S_HOST }} << EOF
133-
kompose version
134-
133+
minikube stop
134+
minikube start
135135
kompose convert -f docker-compose.yml
136-
137136
kubectl apply -f /home/ubuntu/
138-
139137
kubectl get pods
140138
EOF

0 commit comments

Comments
 (0)