Skip to content
This repository has been archived by the owner on Jan 1, 2025. It is now read-only.

Commit

Permalink
fix: automatically deploy documentation to github pages, remove code …
Browse files Browse the repository at this point in the history
…coverage html report.

Signed-off-by: Francisco Javier Ribó Labrador <elribonazo@gmail.com>
  • Loading branch information
elribonazo committed Dec 16, 2023
1 parent 7f66dfa commit 3568d67
Show file tree
Hide file tree
Showing 34 changed files with 158 additions and 7,927 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,19 @@ jobs:

- name: Setup Pages
uses: actions/configure-pages@v4

- name: Deploy html docs
env:
GH_TOKEN: ${{ secrets.PLUTO_GITHUB }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
npm run docs-html
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
# Upload entire repository
path: './packages/database/coverage'
path: './docs-html'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ build
.npmrc
prism-db
*.tgz
docs-html
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ We are not going to stop here but ensure that our SDK can be used in any platfor
## QA & Documentation
| Statements | Branches | Functions | Lines |
| --------------------------- | ----------------------- | ------------------------- | ----------------- |
| ![Statements](https://img.shields.io/badge/statements-95.8%25-brightgreen.svg?style=flat) | ![Branches](https://img.shields.io/badge/branches-92.66%25-brightgreen.svg?style=flat) | ![Functions](https://img.shields.io/badge/functions-86.66%25-yellow.svg?style=flat) | ![Lines](https://img.shields.io/badge/lines-95.8%25-brightgreen.svg?style=flat) |
| ![Statements](https://img.shields.io/badge/statements-92.45%25-brightgreen.svg?style=flat) | ![Branches](https://img.shields.io/badge/branches-91.44%25-brightgreen.svg?style=flat) | ![Functions](https://img.shields.io/badge/functions-83.87%25-yellow.svg?style=flat) | ![Lines](https://img.shields.io/badge/lines-92.45%25-brightgreen.svg?style=flat) |

### Documentation

Expand Down
Loading

0 comments on commit 3568d67

Please sign in to comment.