fix misplaced echo kubeconfig 3
This commit is contained in:
parent
1362224341
commit
f5d7f8c504
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build-and-deploy.yaml
vendored
4
.github/workflows/build-and-deploy.yaml
vendored
|
|
@ -11,7 +11,7 @@ jobs:
|
|||
contents: read
|
||||
packages: write
|
||||
env:
|
||||
KUBECONFIG: ~/.kube/config
|
||||
KUBECONFIG: ${HOME}/.kube/config
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
|
|
@ -37,7 +37,7 @@ jobs:
|
|||
|
||||
- name: Set up Kubeconfig
|
||||
run: |
|
||||
mkdir -p ~/.kube
|
||||
mkdir -p ${HOME}/.kube
|
||||
echo "${{ secrets.KUBECONFIG_BASE64 }}" | base64 -d > ${HOME}/.kube/config
|
||||
chmod 600 ${HOME}/.kube/config
|
||||
export KUBECONFIG=${HOME}/.kube/config
|
||||
|
|
|
|||
Loading…
Reference in a new issue