Skip to content

Commit

Permalink
chore: Forced re-creation of API docs on gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
jsumners-nr committed Jun 27, 2024
1 parent 0bf8908 commit 74a9bd0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/publish-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ PACKAGE_VERSION=$(node -e 'console.log(require("./package").version)')

git fetch origin gh-pages
git checkout gh-pages
git merge -
git checkout main
git branch -fd gh-pages
git checkout -b gh-pages
npm run public-docs
sleep 1
git rm -r docs
sleep 1
mv out docs
sleep 1
git add docs
git commit -m "docs: update for ${PACKAGE_VERSION}"
git push origin gh-pages
git push --force origin gh-pages

0 comments on commit 74a9bd0

Please sign in to comment.