IGNORE delte error before apply in case of not exists
Some checks failed
dev test / test (push) Failing after 2m49s
dev test / vulnCheck (push) Has been skipped
dev test / Ci-Lint (push) Has been skipped
${{ github.actor }} executed Build Push Prod / build (push) Failing after 20m37s
${{ github.actor }} executed Build Push Prod / deploy (push) Has been skipped
Some checks failed
dev test / test (push) Failing after 2m49s
dev test / vulnCheck (push) Has been skipped
dev test / Ci-Lint (push) Has been skipped
${{ github.actor }} executed Build Push Prod / build (push) Failing after 20m37s
${{ github.actor }} executed Build Push Prod / deploy (push) Has been skipped
This commit is contained in:
parent
9b6267204a
commit
4dc90089bd
2
.github/workflows/build_push_and_deploy.yaml
vendored
2
.github/workflows/build_push_and_deploy.yaml
vendored
@ -111,6 +111,6 @@ jobs:
|
||||
export IMAGE="$( echo ${{ github.server_url }} | sed -e 's;https://;;')/${{ github.repository }}:${{ github.ref_name }}"
|
||||
echo "${{ secrets.KUBECONFIG }}" > ~/.kube/config
|
||||
- name: delete olf config
|
||||
run: kubectl delete -f k8s/cronjobs.yml
|
||||
run: kubectl delete -f k8s/cronjobs.yml 2> /dev/null
|
||||
- name: apply config
|
||||
run: kubectl apply -f k8s/cronjobs.yml
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user