Skip to content

Commit

Permalink
ci: change kubeconfig step
Browse files Browse the repository at this point in the history
  • Loading branch information
choffmann committed Jun 10, 2024
1 parent ccd6d24 commit efb9858
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/cleanup_pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ jobs:

steps:
- name: Kubernetes login
uses: actions-hub/kubectl@master
env:
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
uses: azure/k8s-set-context@v4
with:
method: kubeconfig
kubeconfig: ${{ secrets.KUBE_CONFIG }}

- name: Delete Helm Chart
run: |
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/deploy_pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,10 @@ jobs:
' ./k8s/values/on-pr.yaml
- name: Kubernetes login
uses: actions-hub/kubectl@master
env:
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
uses: azure/k8s-set-context@v4
with:
method: kubeconfig
kubeconfig: ${{ secrets.KUBE_CONFIG }}

- name: Install Helm Chart
run: |
Expand Down

0 comments on commit efb9858

Please sign in to comment.