forked from cadey/xesite
Update kubernetes-cd.yml
This commit is contained in:
parent
1ed7e00a98
commit
88c2d2859e
|
@ -51,16 +51,13 @@ jobs:
|
||||||
--replicas=1 \
|
--replicas=1 \
|
||||||
--useProdLE=true > deploy.yml
|
--useProdLE=true > deploy.yml
|
||||||
- name: Configure Kubernetes
|
- name: Configure Kubernetes
|
||||||
uses: docker://digitalocean/doctl:1.30.0
|
run: |
|
||||||
with:
|
curl https://github.com/digitalocean/doctl/releases/download/v1.30.0/doctl-1.30.0-linux-amd64.tar.gz | tar xz
|
||||||
entrypoint: /bin/sh -c
|
./doctl auth login -t $DIGITALOCEAN_ACCESS_TOKEN
|
||||||
args: |
|
./doctl kubernetes cluster kubeconfig show kubermemes > $HOME/.kubeconfig
|
||||||
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
|
||||||
uses: docker://lachlanevenson/k8s-kubectl
|
|
||||||
with:
|
with:
|
||||||
entrypoint: /usr/local/bin/kubectl
|
entrypoint: /usr/local/bin/kubectl
|
||||||
args: |
|
args: |
|
||||||
|
|
Loading…
Reference in New Issue