Skip to content

Commit

Permalink
Remove Rewards Dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
yuli-ferna committed Sep 12, 2024
1 parent 8c55424 commit 749edad
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 57 deletions.
68 changes: 31 additions & 37 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,37 +140,37 @@ jobs:
with:
name: build-redirects
path: apps/redirects/dist
rewards-dashboard:
name: "Rewards Dashboard"
runs-on: "ubuntu-latest"
concurrency:
group: ${{ github.ref }}-${{inputs.name}}-rewards-dashboard
cancel-in-progress: true
environment: ${{inputs.environment}}
steps:
- name: Set up Node environment
uses: actions/setup-node@v3
with:
node-version: v18.17.1
- name: Checkout Rewards Dashboard
uses: actions/checkout@v3
with:
ref: ${{ inputs.project-branch }}
- name: Build Rewards Dashboard
env:
PUBLIC_URL: ${{ inputs.public-url }}
VITE_WAC_URL: ${{ inputs.wac-url }}
VITE_APP_WALLET_CONNECT_PROJECT_ID: ${{ secrets.REACT_APP_WALLET_CONNECT_PROJECT_ID }}
VITE_APP_DOMAIN: ${{ inputs.app-domain }}
run: |
pushd apps/rewards-dashboard
npm ci
npm run build
- name: Upload Rewards Dashboard Artifact
uses: actions/upload-artifact@v3
with:
name: build-rewards-dashboard
path: apps/rewards-dashboard/dist
# rewards-dashboard:
# name: "Rewards Dashboard"
# runs-on: "ubuntu-latest"
# concurrency:
# group: ${{ github.ref }}-${{inputs.name}}-rewards-dashboard
# cancel-in-progress: true
# environment: ${{inputs.environment}}
# steps:
# - name: Set up Node environment
# uses: actions/setup-node@v3
# with:
# node-version: v18.17.1
# - name: Checkout Rewards Dashboard
# uses: actions/checkout@v3
# with:
# ref: ${{ inputs.project-branch }}
# - name: Build Rewards Dashboard
# env:
# PUBLIC_URL: ${{ inputs.public-url }}
# VITE_WAC_URL: ${{ inputs.wac-url }}
# VITE_APP_WALLET_CONNECT_PROJECT_ID: ${{ secrets.REACT_APP_WALLET_CONNECT_PROJECT_ID }}
# VITE_APP_DOMAIN: ${{ inputs.app-domain }}
# run: |
# pushd apps/rewards-dashboard
# npm ci
# npm run build
# - name: Upload Rewards Dashboard Artifact
# uses: actions/upload-artifact@v3
# with:
# name: build-rewards-dashboard
# path: apps/rewards-dashboard/dist

usdc-bridge:
name: "USDC Bridge"
Expand Down Expand Up @@ -375,7 +375,6 @@ jobs:
- usdc-bridge
- token-bridge
- tbtc-bridge-v1
- rewards-dashboard
- redirects
- docs
runs-on: "ubuntu-latest"
Expand Down Expand Up @@ -410,11 +409,6 @@ jobs:
with:
name: build-docs
path: docs
- name: Download Artifact
uses: actions/download-artifact@v3
with:
name: build-rewards-dashboard
path: rewards-dashboard
- name: Download Artifact
uses: actions/download-artifact@v3
with:
Expand Down
5 changes: 0 additions & 5 deletions apps/connect-v1/src/env/tbtc-bridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ export const ENV: Env = {
href: "https://www.tally.xyz/gov/wormhole",
isBlank: true,
},
{
label: "Rewards",
href: `${PUBLIC_URL}/rewards-dashboard/`,
isBlank: true,
},
{ label: "USDC", href: `${PUBLIC_URL}/usdc-bridge` },
{ label: "tBTC", active: true, href: `${PUBLIC_URL}/tbtc-bridge` },
],
Expand Down
5 changes: 0 additions & 5 deletions apps/connect-v1/src/env/token-bridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@ export const ENV: Env = {
href: "https://www.tally.xyz/gov/wormhole",
isBlank: true,
},
{
label: "Rewards",
href: `${PUBLIC_URL}/rewards-dashboard/`,
isBlank: true,
},
{ label: "USDC", href: USDC_BRIDGE_HREF },
{ label: "tBTC", href: `${PUBLIC_URL}/tbtc-bridge` },
],
Expand Down
5 changes: 0 additions & 5 deletions apps/connect/src/env/token-bridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@ export const ENV: Env = {
href: "https://www.tally.xyz/gov/wormhole",
isBlank: true,
},
{
label: "Rewards",
href: `${PUBLIC_URL}/rewards-dashboard/`,
isBlank: true,
},
{ label: "USDC", href: USDC_BRIDGE_HREF },
{ label: "tBTC", href: `${PUBLIC_URL}/tbtc-bridge` },
],
Expand Down
5 changes: 0 additions & 5 deletions apps/connect/src/env/usdc-bridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ export const ENV: Env = {
href: "https://www.tally.xyz/gov/wormhole",
isBlank: true,
},
{
label: "Rewards",
href: `${PUBLIC_URL}/rewards-dashboard/`,
isBlank: true,
},
{ label: "USDC", active: true, href: `${PUBLIC_URL}/usdc-bridge` },
{ label: "tBTC", href: `${PUBLIC_URL}/tbtc-bridge` },
],
Expand Down

0 comments on commit 749edad

Please sign in to comment.