Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): Bump next from 14.1.0 to 14.1.1 in /dashboard & update dashboard action #16681

Merged
merged 3 commits into from
May 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: Dashboard (main)
name: Dashboard
on:
push:
branches: [main]
paths: [dashboard/**, proto/**]
pull_request:
branches: [main]
paths: [dashboard/**, proto/**]
workflow_dispatch:
jobs:
dashboard-ui-deploy:
Expand All @@ -19,11 +22,14 @@ jobs:
- 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
Expand Down
63 changes: 0 additions & 63 deletions .github/workflows/dashboard_pr.yml

This file was deleted.

4 changes: 1 addition & 3 deletions dashboard/lib/api/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ export const PREDEFINED_API_ENDPOINTS = [
]

export const DEFAULT_API_ENDPOINT: string =
process.env.NODE_ENV === "production"
? PROD_API_ENDPOINT
: MOCK_API_ENDPOINT; // EXTERNAL_META_NODE_API_ENDPOINT to debug with RisingWave servers
process.env.NODE_ENV === "production" ? PROD_API_ENDPOINT : MOCK_API_ENDPOINT // EXTERNAL_META_NODE_API_ENDPOINT to debug with RisingWave servers

export const API_ENDPOINT_KEY = "risingwave.dashboard.api.endpoint"

Expand Down
Loading
Loading