Skip to content

Commit

Permalink
chore: update docs build check to redeploy on change in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
LinusBorg committed Dec 11, 2022
1 parent dd4bcd4 commit 5571de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/docs-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# check if doc files changes for netlify
# needed because we cannot use && in netlify.toml

git diff --quiet 'HEAD^' HEAD ./docs/ && ! git diff 'HEAD^' HEAD ./pnpm-lock.yaml | grep --quiet vite
git diff --quiet 'HEAD^' HEAD ./docs/ && ! git diff 'HEAD^' HEAD ./pnpm-lock.yaml && ! git diff 'HEAD^' HEAD ./package.json

0 comments on commit 5571de8

Please sign in to comment.