diff --git a/.github/workflows/deploymentCD.yaml b/.github/workflows/deploymentCD.yaml index 6b3e849..d084b09 100644 --- a/.github/workflows/deploymentCD.yaml +++ b/.github/workflows/deploymentCD.yaml @@ -48,10 +48,9 @@ jobs: username: ${{ secrets.SERVER_USERNAME }} key: ${{ secrets.SERVER_SSH_KEY }} script: | - sudo su cd /home/ubuntu/K8S - kubectl apply -f user-mongo-deployment.yaml - kubectl apply -f user-service-deployment.yaml + sudo kubectl apply -f user-mongo-deployment.yaml + sudo kubectl apply -f user-service-deployment.yaml # - name: Apply Kubernetes manifests # run: |