Skip to content

Commit 2be13dd

Browse files
committed
Update deploymentCD.yaml
1 parent bccfa42 commit 2be13dd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/deploymentCD.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,9 @@ jobs:
4848
username: ${{ secrets.SERVER_USERNAME }}
4949
key: ${{ secrets.SERVER_SSH_KEY }}
5050
script: |
51-
sudo su
5251
cd /home/ubuntu/K8S
53-
kubectl apply -f user-mongo-deployment.yaml
54-
kubectl apply -f user-service-deployment.yaml
52+
sudo kubectl apply -f user-mongo-deployment.yaml
53+
sudo kubectl apply -f user-service-deployment.yaml
5554
5655
# - name: Apply Kubernetes manifests
5756
# run: |

0 commit comments

Comments
 (0)