Skip to content

Commit

Permalink
Update CI\CD Pipeline.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AbuMecca authored Aug 27, 2024
1 parent 45ac1a4 commit 716e267
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/CI\CD Pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,16 @@ jobs:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}

deploy:
runs-on: ubuntu-latest
needs: build
steps:
- name: Install Kubernetes
run: sudo apt-get install -y kubectl

- name: Configure kubectl to use Minikube
run: kubectl config use-context minikube

deploy:

runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to Kubernetes
run: kubectl apply -f Deployment/deployment.yaml

0 comments on commit 716e267

Please sign in to comment.