Update kubernetes-cd.yml

This commit is contained in:
Cadey Ratio 2019-09-07 13:10:26 -04:00 committed by GitHub
parent e2657644e5
commit aa52195190
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -53,8 +53,8 @@ jobs:
- name: Configure Kubernetes
uses: digitalocean/action-doctl@v1.3.0
with:
entrypoint: /usr/local/bin/doctl
args: kubernetes cluster kubeconfig show kubermemes > $HOME/.kubeconfig
entrypoint: /usr/bin/sh
args: -c 'doctl auth login -t $DIGITALOCEAN_ACCESS_TOKEN && doctl kubernetes cluster kubeconfig show kubermemes > $HOME/.kubeconfig'
env:
DIGITALOCEAN_ACCESS_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }}
- name: Deploy