Skip to content

Commit

Permalink
docs: Fixed GitBook publishing automation
Browse files Browse the repository at this point in the history
  • Loading branch information
frol authored Oct 16, 2024
1 parent 503e122 commit 194bd51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/typedoc-generate-gitbook-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ jobs:

- name: Deploy to GitBook
run: |
git clone --branch=git-book https://github.com/near/near-sdk-js.git book
git clone --branch=git-book https://frol:${{ secrets.MY_GITHUB_TOKEN }}@github.com/near/near-sdk-js.git book
rsync -av --delete markdown-docs/ book/
cd book
git config user.name "GitHub Actions"
git config user.email "[email protected]"
git add .
git commit -m "Update documentation [skip ci]"
git push https://frol:${{ secrets.MY_GITHUB_TOKEN }}@github.com/near/near-sdk-js.git git-book
git push https://frol:${{ secrets.MY_GITHUB_TOKEN }}@github.com/near/near-sdk-js.git git-book

0 comments on commit 194bd51

Please sign in to comment.