Skip to content

fix(dashboard): only show real-time back-pressure rate from Prometheu… #332

fix(dashboard): only show real-time back-pressure rate from Prometheu…

fix(dashboard): only show real-time back-pressure rate from Prometheu… #332

name: Dashboard (main)
on:
push:
branches: [main]
paths: [dashboard/**, proto/**]
workflow_dispatch:
jobs:
dashboard-ui-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: "18"
- uses: arduino/setup-protoc@v1
with:
version: "3.x"
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: build
working-directory: ./dashboard
run: |
npm install
npm run lint
npm run build
npm run build-static
- name: Deploy
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: dashboard-artifact
FOLDER: dashboard/out
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SQUASH_HISTORY: true