We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e445b15 commit f3ed020Copy full SHA for f3ed020
Makefile
@@ -783,7 +783,7 @@ publish-book: | book auditors-book
783
echo -e "\nWarning: you're publishing the books from a branch that is neither 'stable' nor 'unstable'!\n"; \
784
fi
785
CURRENT_COMMIT="$$(git rev-parse --short HEAD)" && \
786
- git branch -D gh-pages && \
+ { git branch -D gh-pages || true; } && \
787
git branch --track gh-pages origin/gh-pages && \
788
git worktree add tmp-book gh-pages && \
789
rm -rf tmp-book/* && \
0 commit comments