Skip to content

Commit

Permalink
chore(deps): Bump next from 14.1.0 to 14.1.1 in /dashboard & update d…
Browse files Browse the repository at this point in the history
…ashboard action (#16681)

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: xxchan <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: xxchan <[email protected]>
  • Loading branch information
dependabot[bot] and xxchan authored May 12, 2024
1 parent 7da5ea8 commit 5ea0b67
Show file tree
Hide file tree
Showing 5 changed files with 97 additions and 156 deletions.
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

0 comments on commit 5ea0b67

Please sign in to comment.