forked from cadey/xesite
Update kubernetes-cd.yml
This commit is contained in:
parent
78e50f6ce0
commit
2348bd39fc
|
@ -65,11 +65,11 @@ jobs:
|
||||||
- name: Ping Google
|
- name: Ping Google
|
||||||
uses: docker://lachlanevenson/k8s-kubectl
|
uses: docker://lachlanevenson/k8s-kubectl
|
||||||
with:
|
with:
|
||||||
args: --kubeconfig=/github/workspace/.kubeconfig apply -f /github/workspace/k8s/job/yml
|
args: --kubeconfig=/github/workspace/.kubeconfig apply -f /github/workspace/k8s/job.yml
|
||||||
- name: Sleep
|
- name: Sleep
|
||||||
run: |
|
run: |
|
||||||
sleep 5
|
sleep 5
|
||||||
- name: Don't Ping Google
|
- name: Don't Ping Google
|
||||||
uses: docker://lachlanevenson/k8s-kubectl
|
uses: docker://lachlanevenson/k8s-kubectl
|
||||||
with:
|
with:
|
||||||
args: --kubeconfig=/github/workspace/.kubeconfig delete -f /github/workspace/k8s/job/yml
|
args: --kubeconfig=/github/workspace/.kubeconfig delete -f /github/workspace/k8s/job.yml
|
||||||
|
|
Loading…
Reference in New Issue