Skip to content

Commit

Permalink
Add back origin/master reference in diff
Browse files Browse the repository at this point in the history
  • Loading branch information
ezmiller committed Mar 15, 2024
1 parent 67aa542 commit 51a4b3c
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 @@ -23,7 +23,7 @@ jobs:
id: docs_check
run: |
git fetch origin master
if [[ $(git diff --name-only ${{ github.event.repository.default_branch }} -- './docs') ]]; then
if [[ $(git diff --name-only origin/${{ 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 51a4b3c

Please sign in to comment.