Skip to content

Commit bc45242

Browse files
committed
fix: deploy frontend
1 parent b36cb44 commit bc45242

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

scripts/deploy_functions.sh

+9
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,15 @@ deploy_ekoke_erc20_swap() {
4747
dfx deploy --mode=$INSTALL_MODE --yes --network="$NETWORK" --argument="$ekoke_erc20_swap_init_args" ekoke-erc20-swap
4848
}
4949

50+
deploy_ekoke_erc20_swap_frontend() {
51+
INSTALL_MODE="$1"
52+
NETWORK="$2"
53+
54+
echo "deploying ekoke-erc20-swap-frontend canister"
55+
56+
dfx deploy --mode=$INSTALL_MODE --yes --network="$NETWORK" ekoke-erc20-swap-frontend
57+
}
58+
5059
deploy_ekoke_reward_pool() {
5160
INSTALL_MODE="$1"
5261
NETWORK="$2"

scripts/deploy_ic.sh

+4
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ case "$CANISTER" in
4343
deploy_ekoke_erc20_swap "reinstall" "ic" "$EKOKE_ERC20_SWAP_PRINCIPAL" "$ADMIN_PRINCIPAL" "$EKOKE_LEDGER_PRINCIPAL" "$ERC20_BRIDGE_ADDRESS" "$ERC20_SWAP_FEE" "$ERC20_NETWORK"
4444
;;
4545

46+
"ekoke-erc20-swap-frontend")
47+
deploy_ekoke_erc20_swap_frontend "reinstall" "ic"
48+
;;
49+
4650
"ekoke-liquidity-pool")
4751
deploy_ekoke_liquidity_pool "reinstall" "ic" "$EKOKE_LIQUIDITY_POOL_PRINCIPAL" "$ADMIN_PRINCIPAL" "$SWAP_ACCOUNT"
4852
;;

0 commit comments

Comments
 (0)