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

This commit is contained in:
maximo tejeda 2025-03-07 13:58:19 -04:00
parent 9b6267204a
commit 4dc90089bd

View File

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