Skip to content

Commit 3042954

Browse files
committed
actually check for changes in deploy_directory
1 parent c2607e5 commit 3042954

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ fi
2121
git --work-tree $deploy_directory checkout $deploy_branch --force
2222
git --work-tree $deploy_directory add --all
2323

24-
if git diff --exit-code --quiet HEAD; then
24+
if git --work-tree $deploy_directory diff --exit-code --quiet HEAD; then
2525
git --work-tree $deploy_directory commit -m \
2626
"publish: $commit_title"$'\n\n'"generated from commit $commit_hash"
2727
git push origin $deploy_branch

0 commit comments

Comments
 (0)