Skip to content

fix: render name and icon for new testnets (#121) #37

fix: render name and icon for new testnets (#121)

fix: render name and icon for new testnets (#121) #37

name: CloudFlare Deploy - Explorer UI Dashboard (Test)
on:
push:
branches: ["main"]
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: yarn
node-version: "18"
- run: yarn install --frozen-lockfile
- run: yarn build
env:
VITE_INDEXER_URL: "https://api.test.buildwithsygma.com"
VITE_SHARED_CONFIG_URL: "https://chainbridge-assets-stage.s3.us-east-2.amazonaws.com/shared-config-test.json"
VITE_EXPLORER_URLS: '[{ "id": 1, "url": "https://goerli.etherscan.io" }, { "id": 2, "url": "https://sepolia.etherscan.io" }, {"id": 3, "url": "https://cloudflare-ipfs.com/ipns/dotapps.io/?rpc=wss%3A%2F%2Fsubbridge-test.phala.network%2Frhala%2Fws#/explorer" }, { "id": 4, "url": "https://base-goerli.blockscout.com" }, { "id": 5, "url": "https://explorer.cronos.org/testnet" }]'
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: 2238a825c5aca59233eab1f221f7aefb
projectName: sygma-explorer-test
directory: ./dist
gitHubToken: ${{ secrets.GITHUB_TOKEN }}