Update kubernetes-cd.yml

This commit is contained in:
Cadey Ratio 2019-09-07 13:18:42 -04:00 committed by GitHub
parent d065f1eeea
commit 1ed7e00a98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -51,10 +51,12 @@ jobs:
--replicas=1 \ --replicas=1 \
--useProdLE=true > deploy.yml --useProdLE=true > deploy.yml
- name: Configure Kubernetes - name: Configure Kubernetes
uses: digitalocean/action-doctl@v1.3.0 uses: docker://digitalocean/doctl:1.30.0
with: with:
entrypoint: /bin/sh entrypoint: /bin/sh -c
args: -c 'doctl auth login -t $DIGITALOCEAN_ACCESS_TOKEN && doctl kubernetes cluster kubeconfig show kubermemes > $HOME/.kubeconfig' args: |
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