Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: cleanup fails on PR with no deploy #1614

Merged
merged 1 commit into from
Nov 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
bug: cleanup fails on PR with no deploy
  • Loading branch information
DerekRoberts committed Nov 18, 2023
commit 108aa32e0081d1085c420a34453d5bf71ee7fc4a
3 changes: 2 additions & 1 deletion .github/workflows/pr-close.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
echo "Not found: ${{ env.deployment }}"

# Remove Bitnami Crunchy PVCs
oc delete pvc data-${{ env.deployment }}-bitnami-pg-0
oc delete pvc data-${{ env.deployment }}-bitnami-pg-0 || \
echo "Not found: pvc data-${{ env.deployment }}-bitnami-pg-0"

# https://github.com/bcgov-nr/action-deployer-openshift
merge:
Expand Down