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