Skip to content

refactor: env vars #1689

refactor: env vars

refactor: env vars #1689

Workflow file for this run

name: Applications
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
qa:
uses: ./.github/workflows/qa.yml
secrets: inherit
deploy-ui-storybook:
needs: [qa]
uses: ./.github/workflows/deploy.yml
with:
projectName: ${{ vars.UI_STORYBOOK_PROJECT_NAME }}
buildCommand: yarn turbo run build-storybook --filter=ui
outputDirectory: packages/ui/storybook-static
secrets: inherit
deploy-portal-storybook:
needs: [qa]
uses: ./.github/workflows/deploy.yml
with:
projectName: ${{ vars.PORTAL_STORYBOOK_PROJECT_NAME }}
buildCommand: >-
NODE_OPTIONS=--max_old_space_size=5120
yarn turbo run build-storybook --filter=portal
outputDirectory: apps/portal/storybook-static
secrets: inherit
deploy-portal:
needs: [qa]
uses: ./.github/workflows/deploy.yml
with:
projectName: ${{ vars.PORTAL_PROJECT_NAME }}
buildCommand: >-
NODE_OPTIONS=--max_old_space_size=10240
VITE_SENTRY_RELEASE=${{ github.sha }}
yarn turbo run build --filter=portal -- --sourcemap
outputDirectory: apps/portal/build
sentryReleaseVersion: ${{ github.sha }}
# environmentVariableSecrets: >-
# CHAINDATA,
# COIN_GECKO_API,
# ONFINALITY_API_KEY,
# SENTRY_DSN,
# POSTHOG_AUTH_TOKEN,
# EX_HISTORY_INDEXER,
# DOT_CROWDLOAN_INDEXER,
# KSM_CROWDLOAN_INDEXER,
# BASEROW_EXPLORE_AUTH,
# BASEROW_CROWDLOANS_AUTH,
# LIDO_REWARDS_ADDRESS,
# SIMPLESWAP_API_KEY,
# TAOSTATS_API_KEY,
# LIFI_SECRET
# environmentVariableVariables: >-
# APPLICATION_NAME
# environmentVariablePrefix: VITE_
secrets: inherit