mirror of
https://github.com/luxfi/explore.git
synced 2026-07-27 05:54:15 +00:00
* context for storing subchain config and tx view for subchain * address page and block page for subchain * address aggregated page: local txs tab * connect MultichainSelect to context * home page placeholder * refactor subchain select state * envs for demo * fix ts * clear value for l2 review * subchain widgets on home page * csp policies * sockets, duck and goose * fix socket on subchain address page * link builder for subchain views * update home widget * fix time increment * enable tx interpretator and metadata service * generate multichain config based on every chain app config * Fix the multichain config to work in Docker * multichain socket test * rename subchain-id to subchain-slug path param * refactoring * update chain icons on entities * home page: latest local txs * latest cross-chain txs * minor improvements * renaming, pt. 1 * rename chain routes * enable blockchain interaction * add loading state to icon shield * fix build * fix tests * update types package
79 lines
2.0 KiB
YAML
79 lines
2.0 KiB
YAML
name: Deploy review environment
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
envs_preset:
|
|
description: ENVs preset
|
|
required: false
|
|
default: main
|
|
type: choice
|
|
options:
|
|
- none
|
|
- arbitrum
|
|
- arbitrum_nova
|
|
- arbitrum_sepolia
|
|
- base
|
|
- celo_alfajores
|
|
- garnet
|
|
- gnosis
|
|
- eth
|
|
- eth_sepolia
|
|
- eth_goerli
|
|
- filecoin
|
|
- immutable
|
|
- main
|
|
- mekong
|
|
- neon_devnet
|
|
- optimism
|
|
- optimism_sepolia
|
|
- optimism_superchain
|
|
- polygon
|
|
- rari_testnet
|
|
- rootstock
|
|
- shibarium
|
|
- scroll_sepolia
|
|
- stability
|
|
- tac
|
|
- tac_turin
|
|
- zkevm
|
|
- zilliqa_prototestnet
|
|
- zksync
|
|
- zora
|
|
|
|
jobs:
|
|
make_slug:
|
|
name: Make GitHub reference slug
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
REF_SLUG: ${{ steps.output.outputs.REF_SLUG }}
|
|
steps:
|
|
- name: Inject slug/short variables
|
|
uses: rlespinasse/github-slug-action@v4.4.1
|
|
|
|
- name: Set output
|
|
id: output
|
|
run: echo "REF_SLUG=${{ env.GITHUB_REF_NAME_SLUG }}" >> $GITHUB_OUTPUT
|
|
|
|
publish_image:
|
|
name: Publish Docker image
|
|
needs: make_slug
|
|
uses: './.github/workflows/publish-image.yml'
|
|
with:
|
|
tags: |
|
|
type=raw,value=review-${{ needs.make_slug.outputs.REF_SLUG }}
|
|
build_args: ENVS_PRESET=${{ inputs.envs_preset }}
|
|
secrets: inherit
|
|
|
|
deploy_review:
|
|
name: Deploy frontend
|
|
needs: [ make_slug, publish_image ]
|
|
uses: blockscout/actions/.github/workflows/deploy_helmfile.yaml@main
|
|
with:
|
|
appName: review-${{ needs.make_slug.outputs.REF_SLUG }}
|
|
globalEnv: review
|
|
helmfileDir: deploy
|
|
kubeConfigSecret: ci/data/dev/kubeconfig/k8s-dev
|
|
vaultRole: ci-dev
|
|
secrets: inherit
|