Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Azuki-bar committed Nov 9, 2023
1 parent abc8c0a commit 9c560db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9c560db

Please sign in to comment.