Skip to content

Commit

Permalink
Fix git diff expression
Browse files Browse the repository at this point in the history
  • Loading branch information
ezmiller committed Mar 15, 2024
1 parent 1419a21 commit b56f56d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Check for changes in docs folder
id: docs_check
run: |
if [[ $(git diff --name-only ${{ github.event.repository.default_branch }} './docs') ]]; then
if [[ $(git diff --name-only ${{ github.event.repository.default_branch }} -- './docs') ]]; then
echo "There have been changes to the docs."
echo "docs_changed=true" >> $GITHUB_OUTPUT
else
Expand Down

0 comments on commit b56f56d

Please sign in to comment.