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