Skip to content

Commit

Permalink
use proper namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
kcinay055679 committed Nov 19, 2024
1 parent 2300688 commit ca6fbc5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/reset-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,6 @@ jobs:
openshift_token: ${{ env.OPENSHIFT_TOKEN }}
namespace: ${{ env.OPENSHIFT_NAMESPACE }}
- name: set pod replicas to 0 and trigger auto restart
run: oc scale deployment ${{ env.POD_NAME }} --replicas 0
run: |
oc project ${{ env.OPENSHIFT_NAMESPACE }}
oc scale deployment ${{ env.POD_NAME }} --replicas 0

0 comments on commit ca6fbc5

Please sign in to comment.