Skip to content

Commit

Permalink
Include rewards link
Browse files Browse the repository at this point in the history
  • Loading branch information
yuli-ferna committed Sep 13, 2024
1 parent a7aca12 commit 6e5206d
Showing 1 changed file with 37 additions and 31 deletions.
68 changes: 37 additions & 31 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,6 +375,7 @@ jobs:
- usdc-bridge
- token-bridge
- tbtc-bridge-v1
- rewards-dashboard
- redirects
- docs
runs-on: "ubuntu-latest"
Expand Down Expand Up @@ -404,6 +405,11 @@ jobs:
with:
name: build-advanced-tools
path: advanced-tools
- 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

0 comments on commit 6e5206d

Please sign in to comment.