Skip to content

Commit

Permalink
backstage: check output of percy changes
Browse files Browse the repository at this point in the history
  • Loading branch information
frshwtr committed Oct 9, 2023
1 parent 3b5f180 commit dec2c81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/percy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
run: echo '${{ needs.changes.outputs.components }}'
run-percy:
if: |
${{ !contains(needs.changes.outputs.components, '"include": []') && needs.changes.outputs.components != '' }}
${{ needs.changes.outputs.components != '[]' && needs.changes.outputs.components != '' }}
needs: changes
runs-on: ubuntu-latest
strategy:
Expand Down
2 changes: 1 addition & 1 deletion templates/percy-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
run: echo '${{ needs.changes.outputs.components }}'
run-percy:
if: |
${{ !contains(needs.changes.outputs.components, '"include": []') && needs.changes.outputs.components != '' }}
${{ needs.changes.outputs.components != '[]' && needs.changes.outputs.components != '' }}
needs: changes
runs-on: ubuntu-latest
strategy:
Expand Down

0 comments on commit dec2c81

Please sign in to comment.