From 9c560dbec9886444b5fdcb7c6b42a598a5abd576 Mon Sep 17 00:00:00 2001 From: Azuki-bar <42642269+Azuki-bar@users.noreply.github.com> Date: Thu, 9 Nov 2023 17:05:22 +0900 Subject: [PATCH] fix --- .github/workflows/publish-images.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-images.yml b/.github/workflows/publish-images.yml index 3fa22d06..2e92902a 100644 --- a/.github/workflows/publish-images.yml +++ b/.github/workflows/publish-images.yml @@ -48,7 +48,7 @@ jobs: if [[ "${{ github.event_name == 'push' && startsWith(steps.extract_branch.outputs.branch , 'deployment') }}" == "true" ]]; then echo "push_detector=true" >> $GITHUB_OUTPUT else - if [[ `gh pr view --json files |jq -e '[.files.[].path] | contains([".github/workflows/publish-images.yml", "docker-bake.hcl"])'` ]]; then + if `gh pr view --json files --jq '[.files.[].path]'|jq -e ' contains([".github/workflows/publish-images.yml", "docker-bake.hcl"])'`; then echo "push_detector=true" >> $GITHUB_OUTPUT fi fi