Update kubernetes-cd.yml
This commit is contained in:
parent
e2657644e5
commit
aa52195190
|
@ -53,8 +53,8 @@ jobs:
|
||||||
- name: Configure Kubernetes
|
- name: Configure Kubernetes
|
||||||
uses: digitalocean/action-doctl@v1.3.0
|
uses: digitalocean/action-doctl@v1.3.0
|
||||||
with:
|
with:
|
||||||
entrypoint: /usr/local/bin/doctl
|
entrypoint: /usr/bin/sh
|
||||||
args: kubernetes cluster kubeconfig show kubermemes > $HOME/.kubeconfig
|
args: -c 'doctl auth login -t $DIGITALOCEAN_ACCESS_TOKEN && doctl kubernetes cluster kubeconfig show kubermemes > $HOME/.kubeconfig'
|
||||||
env:
|
env:
|
||||||
DIGITALOCEAN_ACCESS_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }}
|
DIGITALOCEAN_ACCESS_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }}
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
|
|
Loading…
Reference in New Issue