diff --git a/.github/workflows/mainnet-deploy.yml b/.github/workflows/mainnet-deploy.yml index 6613165..db9604d 100644 --- a/.github/workflows/mainnet-deploy.yml +++ b/.github/workflows/mainnet-deploy.yml @@ -26,3 +26,5 @@ jobs: - name: Deploy to mainnet run: dfx deploy --ic + env: + TELEGRAM_SECRET_TOKEN: ${{ secrets.TELEGRAM_SECRET_TOKEN }} diff --git a/scripts/build-canister.sh b/scripts/build-canister.sh index 38a80fb..2a1722d 100755 --- a/scripts/build-canister.sh +++ b/scripts/build-canister.sh @@ -1,9 +1,9 @@ #!/bin/bash -set -e - source .env +set -e + echo -e "\nBuilding canister..." TELEGRAM_SECRET_TOKEN=$TELEGRAM_SECRET_TOKEN \