Skip to content

Commit 917110a

Browse files
authoredJun 27, 2024··
chore: Forced re-creation of API docs on gh-pages (#2307)
1 parent 8a890f1 commit 917110a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎bin/publish-docs.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ PACKAGE_VERSION=$(node -e 'console.log(require("./package").version)')
88

99
git fetch origin gh-pages
1010
git checkout gh-pages
11-
git merge -
11+
git checkout main
12+
git branch -fd gh-pages
13+
git checkout -b gh-pages
1214
npm run public-docs
1315
sleep 1
14-
git rm -r docs
15-
sleep 1
1616
mv out docs
1717
sleep 1
1818
git add docs
1919
git commit -m "docs: update for ${PACKAGE_VERSION}"
20-
git push origin gh-pages
20+
git push --force origin gh-pages

0 commit comments

Comments
 (0)
Please sign in to comment.