ci: write kube config to file
This commit is contained in:
parent
e334c06e62
commit
ddddf0105a
1 changed files with 6 additions and 0 deletions
6
.github/workflows/deploy-to-staging.yml
vendored
6
.github/workflows/deploy-to-staging.yml
vendored
|
|
@ -82,6 +82,12 @@ jobs:
|
|||
with:
|
||||
version: "${{ env.HELM_VERSION }}"
|
||||
|
||||
- name: write kube config
|
||||
run: |
|
||||
mkdir -p $HOME/.kube/
|
||||
echo "${{ secrets.KUBE_CONFIG }}" > $HOME/.kube/config
|
||||
chmod 600 $HOME/.kube/config
|
||||
|
||||
- name: deploy dry run
|
||||
run: |
|
||||
helm upgrade \
|
||||
|
|
|
|||
Reference in a new issue