From 762acc4cba6796c62f2cd397421b1ab23ab98f22 Mon Sep 17 00:00:00 2001 From: Yanick Minder Date: Tue, 19 Nov 2024 14:57:27 +0100 Subject: [PATCH] clean up action --- .github/workflows/reset-demo.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/reset-demo.yml b/.github/workflows/reset-demo.yml index 0bcee22593..27024478f3 100644 --- a/.github/workflows/reset-demo.yml +++ b/.github/workflows/reset-demo.yml @@ -27,12 +27,4 @@ jobs: namespace: ${{ env.OPENSHIFT_NAMESPACE }} - name: set pod replicas to 0 and trigger auto restart - run: | - echo "test" - oc projects - oc project - echo "${{ env.OPENSHIFT_NAMESPACE }}" - echo "${{ env.POD_NAME }}" - oc project ${{ env.OPENSHIFT_NAMESPACE }} - oc project - oc scale deployment demo-okr-application --replicas 0 \ No newline at end of file + run: oc scale deployment ${{env.POD_NAME}} --replicas 0 \ No newline at end of file