Skip to content

Commit a639434

Browse files
committed
fix: update docs fails if gh-pages branch does not exist
1 parent 0e0097f commit a639434

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/update-docs-HEAD.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ generate_docs()
3030

3131
upload_docs()
3232
{
33-
git push "${remote}" :gh-pages
33+
git push "${remote}" :gh-pages || true
3434
git fetch "${remote}"
3535
git branch -D gh-pages || true
3636
ghp-import --force \

0 commit comments

Comments
 (0)