We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2607e5 commit 3042954Copy full SHA for 3042954
deploy.sh
@@ -21,7 +21,7 @@ fi
21
git --work-tree $deploy_directory checkout $deploy_branch --force
22
git --work-tree $deploy_directory add --all
23
24
-if git diff --exit-code --quiet HEAD; then
+if git --work-tree $deploy_directory diff --exit-code --quiet HEAD; then
25
git --work-tree $deploy_directory commit -m \
26
"publish: $commit_title"$'\n\n'"generated from commit $commit_hash"
27
git push origin $deploy_branch
0 commit comments