Update kubernetes-cd.yml

This commit is contained in:
Cadey Ratio 2019-09-07 11:55:21 -04:00 committed by GitHub
parent fd852282ee
commit 4777c63c89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 5 deletions

View File

@ -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