Skip to content

Commit

Permalink
first
Browse files Browse the repository at this point in the history
  • Loading branch information
Arshavir Ter-Gabrielyan committed Dec 27, 2023
1 parent bcd1303 commit d634a7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deploy_dapp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ dfx --provisional-create-canister-effective-canister-id jrlun-jiaaa-aaaab-aaaaa-

if [[ -z "${WASM}" ]]
then
dfx build --network "${NETWORK}" "${NAME}"
# dfx build --network "${NETWORK}" "${NAME}" -- TODO: Make this step optional
export WASM=".dfx/${DX_NETWORK}/canisters/${NAME}/${NAME}.wasm"
curl --fail -L https://github.com/dfinity/sns-testing/releases/download/test-wasm-rc-1/test.wasm -o "${WASM}"
fi

dfx canister install "${NAME}" --network "${NETWORK}" --argument "${ARG}" --argument-type idl --wasm "${WASM}"

0 comments on commit d634a7b

Please sign in to comment.