Skip to content

Commit

Permalink
update test-path workflow
Browse files Browse the repository at this point in the history
Signed-off-by: rksharma95 <[email protected]>
  • Loading branch information
rksharma95 committed Sep 7, 2023
1 parent 7b10cbf commit 446332b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/ci-path-filter-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,10 @@ jobs:
kubearmor:
name: Create KubeArmor latest release
needs: check
if: github.repository == 'rksharma95/kubearmor' && (needs.check.outputs.kubearmor == 'true' || ${{ github.ref }} == 'refs/heads/main')
if: (github.repository == 'rksharma95/kubearmor') && (needs.check.outputs.kubearmor == 'true' || ${{ github.ref }} == 'refs/heads/main')
runs-on: ubuntu-20.04
steps:

- name: deploy kubearmor
run: |
if [ github.repository eq 'rksharma95/kubearmor' -a (needs.check.outputs.kubearmor eq 'true' -o ${{ github.ref }} eq 'refs/heads/main') ]; then
echo "kubearmor deployed"
else
echo "kubearmor deployment failed"
fi
echo "kubearmor deployed"

0 comments on commit 446332b

Please sign in to comment.