feat(storage): support online cache resize via risectl #1836
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: Dashboard | |
on: | |
push: | |
branches: [main] | |
paths: [dashboard/**, proto/**] | |
pull_request: | |
branches: [main] | |
paths: [dashboard/**, proto/**] | |
workflow_dispatch: | |
jobs: | |
dashboard-ui-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- uses: arduino/setup-protoc@v3 | |
with: | |
version: "25.x" | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: build | |
working-directory: ./dashboard | |
run: | | |
echo "::group::npm install" | |
npm install | |
echo "::endgroup::" | |
npm run lint | |
npm run build | |
- name: Deploy | |
uses: s0/git-publish-subdir-action@develop | |
if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
env: | |
REPO: self | |
BRANCH: dashboard-artifact | |
FOLDER: dashboard/out | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SQUASH_HISTORY: true |