Skip to content

Commit

Permalink
punk bvc
Browse files Browse the repository at this point in the history
  • Loading branch information
Aman-poojary committed Jul 23, 2024
1 parent ba5507e commit e406b8a
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
deploy:
needs: build
runs-on: ubuntu-latest
runs-on: self-hosted

steps:
- name: Checkout code
Expand All @@ -51,14 +51,8 @@ jobs:
with:
version: v1.30.0

- name: Decode and configure kubectl
run: |
mkdir -p ~/.kube
echo "${{ secrets.KUBE_CONFIG_DATA }}" | base64 -d > ~/.kube/config
env:
KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA }}

- name: Deploy to Kubernetes
run: |
kubectl apply -f kubernetes/deployment.yaml
kubectl apply -f kubernetes/service.yaml
kubectl apply -f kubernetes/service.yaml
shell: cmd

0 comments on commit e406b8a

Please sign in to comment.