forked from cadey/xesite
Update kubernetes-cd.yml
This commit is contained in:
parent
d065f1eeea
commit
1ed7e00a98
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue