Skip to content

Commit 0d46336

Browse files
committed
add env variables for Solana
1 parent e466f27 commit 0d46336

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ jobs:
4343
npm install
4444
npm run build
4545
env:
46-
VITE_SOLANA_MAINNET_RPC: ${{ secrets.VITE_SOLANA_MAINNET_RPC }}
46+
VITE_APP_SOLANA_MAINNET_RPC: ${{ secrets.SOLANA_MAINNET_RPC }}
47+
VITE_APP_SOLANA_TESTNET_RPC: ${{ secrets.SOLANA_TESTNET_RPC }}
48+
VITE_APP_SOLANA_DEVNET_RPC: ${{ secrets.SOLANA_DEVNET_RPC }}
4749
VITE_APP_PIMLICO_API_KEY: ${{ secrets.PIMLICO_API_KEY }}
4850

4951
# Copy the files from build folder to the S3 bucket

demo/vue-app-new/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export const chainConfigs: Record<ChainNamespaceType, CustomChainConfig[]> = {
8181
},
8282
{
8383
chainNamespace: CHAIN_NAMESPACES.SOLANA,
84-
rpcTarget: import.meta.env.VITE_SOLANA_MAINNET_RPC,
84+
rpcTarget: import.meta.env.VITE_APP_SOLANA_MAINNET_RPC,
8585
blockExplorerUrl: "https://explorer.solana.com",
8686
logo: "https://cryptologos.cc/logos/solana-sol-logo.png",
8787
chainId: "0x65",

0 commit comments

Comments
 (0)