-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #177 from victorperin/feat/docs-in-html
Feat: docs in html
- Loading branch information
Showing
6 changed files
with
628 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Build Docs | ||
on: | ||
workflow_run: | ||
workflows: ['on-release'] | ||
branches: [master] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
Deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout project | ||
uses: actions/checkout@v2 | ||
|
||
- name: Use NodeJS 15.x | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 15.x | ||
|
||
- name: Use cached node_modules | ||
uses: actions/cache@v2 | ||
with: | ||
path: node_modules | ||
key: nodeModules-${{ hashFiles('**/package-lock.json') }} | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Build JS files | ||
run: npm run build | ||
|
||
- name: Build docs | ||
run: npm run build:doc:web | ||
|
||
- name: Publish docs | ||
run: npm run publish:docs | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ node_modules | |
bin | ||
coverage | ||
.nyc_output | ||
docs-web |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.