chore(performance): add performance data (#1637) #789
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
name: "Publish Pages" | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'data/**' | |
- 'ui/**' | |
jobs: | |
publishPages: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [ 12.x ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: build ui | |
run: | | |
npm ci | |
cd ui | |
npm ci | |
npm run docz:build | |
env: | |
CI: true | |
- name: Deploy to pages | |
if: success() | |
uses: peaceiris/actions-gh-pages@v2 | |
env: | |
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }} | |
PUBLISH_BRANCH: gh-pages | |
PUBLISH_DIR: ./ui/.docz/dist |