Skip to content

Commit

Permalink
fix: github workflow for API docs publishing (#151)
Browse files Browse the repository at this point in the history
* fix: github workflow for API docs publishing

* docs: remove placeholder directory
  • Loading branch information
aheckmann authored Jan 19, 2022
1 parent 057420f commit 897e756
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
- name: Update docs
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
yarn doc
yarn gh-pages -d docs -u "github-actions-bot <[email protected]>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ coverage/
*keypair.json

# Docs
**/docs
docs

# Bundle stats file
stats.html
Expand All @@ -58,4 +58,4 @@ stats.html
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
!.yarn/versions
Empty file removed docs/.gitkeep
Empty file.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"scripts": {
"doc": "typedoc",
"doc:update": "yarn doc && ./sh/update-docs",
"doc:update": "yarn doc && ./sh/publish-docs",
"build": "rimraf lib && rollup -c",
"dev": "rollup -c --watch",
"lint": "eslint \"{src,test}/**/*.ts\" --format stylish",
Expand Down
File renamed without changes.

0 comments on commit 897e756

Please sign in to comment.