From 6e5206d703503f780d82626943b0451158e8551f Mon Sep 17 00:00:00 2001 From: yuli-ferna Date: Fri, 13 Sep 2024 10:10:55 -0400 Subject: [PATCH] Include rewards link --- .github/workflows/build.yml | 68 ++++++++++++++++++++----------------- 1 file changed, 37 insertions(+), 31 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0d461c285..6d0878ade 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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" @@ -375,6 +375,7 @@ jobs: - usdc-bridge - token-bridge - tbtc-bridge-v1 + - rewards-dashboard - redirects - docs runs-on: "ubuntu-latest" @@ -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: