forked from cadey/xesite
Update kubernetes-cd.yml
This commit is contained in:
parent
fd852282ee
commit
4777c63c89
|
@ -51,10 +51,17 @@ jobs:
|
||||||
--useProdLE=true > deploy.yml
|
--useProdLE=true > deploy.yml
|
||||||
- name: Configure Kubernetes
|
- name: Configure Kubernetes
|
||||||
uses: digitalocean/action-doctl@v1.3.0
|
uses: digitalocean/action-doctl@v1.3.0
|
||||||
run: |
|
with:
|
||||||
doctl kubernetes cluster kubeconfig show kubermemes > $HOME/.kubeconfig
|
entrypoint: /usr/local/bin/doctl
|
||||||
|
args: kubernetes cluster kubeconfig show kubermemes > $HOME/.kubeconfig
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: docker://lachlanevenson/k8s-kubectl
|
uses: docker://lachlanevenson/k8s-kubectl
|
||||||
run: |
|
with:
|
||||||
kubectl --kubeconfig=$HOME/.kubeconfig apply -f deploy.yml
|
entrypoint: /usr/local/bin/kubectl
|
||||||
kubectl --kubeconfig=$HOME/.kubeconfig rollout status deployment/christinewebsite
|
args: |
|
||||||
|
- name: Verify
|
||||||
|
uses: docker://lachlanevenson/k8s-kubectl
|
||||||
|
with:
|
||||||
|
entrypoint: /usr/local/bin/kubectl
|
||||||
|
args: |
|
||||||
|
--kubeconfig=$HOME/.kubeconfig rollout status deployment/christinewebsite
|
||||||
|
|
Loading…
Reference in New Issue