diff --git a/.github/workflows/deploy-web-app.yaml b/.github/workflows/deploy-web-app.yaml index 0344613..81895b7 100644 --- a/.github/workflows/deploy-web-app.yaml +++ b/.github/workflows/deploy-web-app.yaml @@ -1,4 +1,4 @@ -name: Upload Artifacts +name: Deploy Web App on: push: branches: @@ -42,7 +42,7 @@ jobs: restore-keys: ${{ runner.os }}-pnpm-store - name: Build - run: pnpm --filter web build + run: pnpm --filter artifacts build && pnpm --filter web build - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v4 diff --git a/apps/web/src/constants.ts b/apps/web/src/constants.ts index 5c8b83e..2fabd7d 100644 --- a/apps/web/src/constants.ts +++ b/apps/web/src/constants.ts @@ -1,4 +1,4 @@ -export const artifacts = ['wasm', 'zkey'] +export const artifacts = ['wasm', 'zkey', 'json'] export const owner = 'privacy-scaling-explorations' export const repo = 'snark-artifacts' export const cdnUrl = 'https://snark-artifacts.pse.dev'