Skip to content

Commit 194bd51

Browse files
authored
docs: Fixed GitBook publishing automation
1 parent 503e122 commit 194bd51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/typedoc-generate-gitbook-docs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ jobs:
4141

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

0 commit comments

Comments
 (0)